|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.framework.logger.AbstractLogEnabled org.apache.cocoon.webapps.authentication.components.ServletAuthenticator
public class ServletAuthenticator
Verify if a user can be authenticated. This is a very simple authenticator that checks if the user is authenticated using the servlet authentication mechanisms.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.cocoon.webapps.authentication.components.Authenticator |
---|
Authenticator.AuthenticationResult |
Field Summary | |
---|---|
protected Context |
context
Deprecated. |
protected ServiceManager |
manager
Deprecated. |
Constructor Summary | |
---|---|
ServletAuthenticator()
Deprecated. |
Method Summary | |
---|---|
Authenticator.AuthenticationResult |
authenticate(HandlerConfiguration configuration,
SourceParameters parameters)
Deprecated. Try to authenticate the user. |
void |
contextualize(Context context)
Deprecated. |
protected void |
fillContext(Document contextDoc)
Deprecated. Fill the authentication context. |
void |
logout(UserHandler handler)
Deprecated. This notifies the authenticator that a user logs out of the given handler. |
void |
service(ServiceManager manager)
Deprecated. |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Context context
protected ServiceManager manager
Constructor Detail |
---|
public ServletAuthenticator()
Method Detail |
---|
public void contextualize(Context context) throws ContextException
contextualize
in interface Contextualizable
ContextException
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
protected void fillContext(Document contextDoc)
contextDoc
- The context. This document has already the authentication
root node.public Authenticator.AuthenticationResult authenticate(HandlerConfiguration configuration, SourceParameters parameters) throws ProcessingException
Authenticator
authenticate
in interface Authenticator
ProcessingException
- Only if an error occurspublic void logout(UserHandler handler)
Authenticator
logout
in interface Authenticator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |