org.dspace.app.xmlui.aspect.general
Class HandleAuthorizedMatcher
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.dspace.app.xmlui.aspect.general.HandleAuthorizedMatcher
- All Implemented Interfaces:
- org.apache.avalon.framework.logger.LogEnabled, org.apache.cocoon.matching.Matcher
public class HandleAuthorizedMatcher
- extends org.apache.avalon.framework.logger.AbstractLogEnabled
- implements org.apache.cocoon.matching.Matcher
Test the current URL to see if the user has access to the described
resources. The privelege tested against uses the pattern attribute, the
possible values are listed in the DSpace Constant class.
- Author:
- Scott Phillips
| Fields inherited from interface org.apache.cocoon.matching.Matcher |
ROLE |
|
Method Summary |
java.util.Map |
match(java.lang.String pattern,
java.util.Map objectModel,
org.apache.avalon.framework.parameters.Parameters parameters)
Match method to see if the sitemap parameter exists. |
| 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 |
HandleAuthorizedMatcher
public HandleAuthorizedMatcher()
match
public java.util.Map match(java.lang.String pattern,
java.util.Map objectModel,
org.apache.avalon.framework.parameters.Parameters parameters)
throws org.apache.cocoon.sitemap.PatternException
- Match method to see if the sitemap parameter exists. If it does have a
value the parameter added to the array list for later sitemap
substitution.
- Specified by:
match in interface org.apache.cocoon.matching.Matcher
- Parameters:
pattern - name of sitemap parameter to findobjectModel - environment passed through via cocoon
- Returns:
- null or map containing value of sitemap parameter 'pattern'
- Throws:
org.apache.cocoon.sitemap.PatternException
Copyright © 2010 DuraSpace. All Rights Reserved.