|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.profiler.rules.impl.StandardResolver
org.apache.jetspeed.profiler.rules.impl.RoleCriterionResolver
Standard Jetspeed-1 Role resolver (not role-based fallback). It first looks at the value in the criterion record. If it is null, it then falls back to a request parameter. If it is null it gives up and returns null allowing subclasses to continue processing.
Field Summary | |
protected static org.apache.commons.logging.Log |
log
|
Fields inherited from class org.apache.jetspeed.profiler.rules.impl.StandardResolver |
VALUE_DELIMITER |
Fields inherited from interface org.apache.jetspeed.profiler.rules.RuleCriterionResolver |
COUNTRY, GROUP, GROUP_ROLE_USER, HARD_CODED, LANGUAGE, MEDIATYPE, NAVIGATION, PAGE, PATH, PATH_SESSION, REQUEST, REQUEST_SESSION, ROLE, ROLE_FALLBACK, SESSION, USER, USER_AGENT, USER_ATTRIBUTE |
Constructor Summary | |
RoleCriterionResolver()
|
Method Summary | |
boolean |
isControl(org.apache.jetspeed.profiler.rules.RuleCriterion criterion)
|
String |
resolve(org.apache.jetspeed.request.RequestContext context,
org.apache.jetspeed.profiler.rules.RuleCriterion criterion)
|
Methods inherited from class org.apache.jetspeed.profiler.rules.impl.StandardResolver |
isNavigation, resolvePrincipals |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jetspeed.profiler.rules.RuleCriterionResolver |
isNavigation |
Field Detail |
protected static final org.apache.commons.logging.Log log
Constructor Detail |
public RoleCriterionResolver()
Method Detail |
public String resolve(org.apache.jetspeed.request.RequestContext context, org.apache.jetspeed.profiler.rules.RuleCriterion criterion)
resolve
in interface org.apache.jetspeed.profiler.rules.RuleCriterionResolver
resolve
in class StandardResolver
public boolean isControl(org.apache.jetspeed.profiler.rules.RuleCriterion criterion)
isControl
in interface org.apache.jetspeed.profiler.rules.RuleCriterionResolver
isControl
in class StandardResolver
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |