org.apache.lenya.cms.cocoon.acting
Class DelegatingAuthenticatorAction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.AbstractConfigurableAction
org.apache.cocoon.acting.ConfigurableServiceableAction
org.apache.lenya.cms.cocoon.acting.AccessControlAction
org.apache.lenya.cms.cocoon.acting.DelegatingAuthenticatorAction
- All Implemented Interfaces:
- org.apache.avalon.framework.component.Component, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, org.apache.cocoon.acting.Action
public class DelegatingAuthenticatorAction
- extends AccessControlAction
Authenticator action that delegates the authentication to an access controller.
Fields inherited from class org.apache.cocoon.acting.ConfigurableServiceableAction |
manager |
Fields inherited from class org.apache.cocoon.acting.AbstractConfigurableAction |
settings |
Fields inherited from class org.apache.cocoon.acting.AbstractAction |
EMPTY_MAP |
Fields inherited from interface org.apache.cocoon.acting.Action |
ROLE |
Method Summary |
protected java.util.Map |
doAct(org.apache.cocoon.environment.Redirector redirector,
org.apache.cocoon.environment.SourceResolver resolver,
java.util.Map objectModel,
java.lang.String source,
org.apache.avalon.framework.parameters.Parameters parameters)
The actual act method. |
Methods inherited from class org.apache.cocoon.acting.ConfigurableServiceableAction |
service |
Methods inherited from class org.apache.cocoon.acting.AbstractConfigurableAction |
configure |
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 |
DelegatingAuthenticatorAction
public DelegatingAuthenticatorAction()
doAct
protected java.util.Map doAct(org.apache.cocoon.environment.Redirector redirector,
org.apache.cocoon.environment.SourceResolver resolver,
java.util.Map objectModel,
java.lang.String source,
org.apache.avalon.framework.parameters.Parameters parameters)
throws java.lang.Exception
- Description copied from class:
AccessControlAction
- The actual act method.
- Specified by:
doAct
in class AccessControlAction
- Parameters:
redirector
- The Redirector
in chargeresolver
- The SourceResolver
in chargeobjectModel
- The Map
with object of the
calling environment which can be used
to select values this controller may need
(ie Request, Response).source
- A source String
to the Actionparameters
- The Parameters
for this invocation
- Returns:
- Map The returned
Map
object with
sitemap substitution values which can be used
in subsequent elements attributes like src=
using a xpath like expression: src="mydir/{myval}/foo"
If the return value is null the processing inside
the element of the sitemap will
be skipped.
- Throws:
java.lang.Exception
- Indicates something is totally wrong- See Also:
AccessControlAction.doAct(org.apache.cocoon.environment.Redirector, org.apache.cocoon.environment.SourceResolver, java.util.Map, java.lang.String, org.apache.avalon.framework.parameters.Parameters)
Copyright © $ Apache Software Foundation. All Rights Reserved.