org.apache.cocoon.webapps.session.context
Interface SessionContextProvider

All Known Implementing Classes:
AuthenticationContextProvider, SessionContextProviderImpl, StandardSessionContextProvider

Deprecated. This block is deprecated and will be removed in future versions.

public interface SessionContextProvider

Interface for a context provider. Objects of this class provide special context, e.g. authentication or portal. The provider has to take care that the context is instantiated and managed correctly: for example a request context object should only created once per request, an authentication context once per session etc.

Version:
CVS $Id: SessionContextProvider.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

Field Summary
static String ROLE
          Deprecated.  
 
Method Summary
 boolean existsSessionContext(String name)
          Deprecated. Does the context exist?
 SessionContext getSessionContext(String name)
          Deprecated. Get the context
 

Field Detail

ROLE

static final String ROLE
Deprecated. 
Method Detail

getSessionContext

SessionContext getSessionContext(String name)
                                 throws ProcessingException
Deprecated. 
Get the context

Parameters:
name - The name of the context
Returns:
The context
Throws:
ProcessingException - If the context is not available.

existsSessionContext

boolean existsSessionContext(String name)
                             throws ProcessingException
Deprecated. 
Does the context exist?

Throws:
ProcessingException


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.