com.anwrt.anycontent.authentication
Class AuthenticateAction

java.lang.Object
  extended byAbstractAction
      extended bycom.anwrt.anycontent.authentication.AuthenticateAction

public class AuthenticateAction
extends AbstractAction

Cocoon action to perform authentication.
The authentication is configured by the WEB-INF/config/authentication.xml file.

The AuthenticationManager define the authentication method and retrieves Credentials.
The Authentication performs actual authentication.
Finally, the Users instance extract a Principal from the given Credentials.

See Also:
Serialized Form

Field Summary
protected  org.apache.avalon.framework.context.Context _context
          The Avalon Context
protected  Context _envContext
          The Cocoon context
 
Constructor Summary
AuthenticateAction()
           
 
Method Summary
 java.util.Map act(Redirector redirector, SourceResolver resolver, java.util.Map objectModel, java.lang.String source, Parameters parameters)
           
 void contextualize(org.apache.avalon.framework.context.Context context)
           
 void initialize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_context

protected org.apache.avalon.framework.context.Context _context
The Avalon Context


_envContext

protected Context _envContext
The Cocoon context

Constructor Detail

AuthenticateAction

public AuthenticateAction()
Method Detail

contextualize

public void contextualize(org.apache.avalon.framework.context.Context context)
                   throws ContextException
Throws:
ContextException

initialize

public void initialize()
                throws java.lang.Exception
Throws:
java.lang.Exception

act

public java.util.Map act(Redirector redirector,
                         SourceResolver resolver,
                         java.util.Map objectModel,
                         java.lang.String source,
                         Parameters parameters)
                  throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2006 Anyware Technologies. All Rights Reserved.