org.dspace.app.xmlui.aspect.general
Class AuthenticatedSelector
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.dspace.app.xmlui.aspect.general.AuthenticatedSelector
- All Implemented Interfaces:
- org.apache.avalon.framework.logger.LogEnabled, org.apache.cocoon.selection.Selector
public class AuthenticatedSelector
- extends org.apache.avalon.framework.logger.AbstractLogEnabled
- implements org.apache.cocoon.selection.Selector
This simple selector operates on the authenticated DSpace user and selects
between two levels of access.
...
...
...
There are only two defined test expressions: "administrator" and "eperson".
Remember an administrator is also an eperson so if you need to check for
administrators distinct from epersons that select must come first.
- Author:
- Scott Phillips
| Fields inherited from interface org.apache.cocoon.selection.Selector |
ROLE |
|
Method Summary |
boolean |
select(String expression,
Map objectModel,
org.apache.avalon.framework.parameters.Parameters parameters)
Determine if the authenticated eperson matches the given expression. |
| 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 |
EPERSON
public static final String EPERSON
- Test expressiots
- See Also:
- Constant Field Values
ADMINISTRATOR
public static final String ADMINISTRATOR
- See Also:
- Constant Field Values
AuthenticatedSelector
public AuthenticatedSelector()
select
public boolean select(String expression,
Map objectModel,
org.apache.avalon.framework.parameters.Parameters parameters)
- Determine if the authenticated eperson matches the given expression.
- Specified by:
select in interface org.apache.cocoon.selection.Selector
Copyright © 2012 DuraSpace. All Rights Reserved.