Package org.forgerock.openam.core.rest
Class RealmAdminUiRolePredicate
- java.lang.Object
-
- org.forgerock.openam.core.rest.RealmAdminUiRolePredicate
-
- All Implemented Interfaces:
com.google.common.base.Predicate<org.forgerock.services.context.Context>,Predicate<org.forgerock.services.context.Context>,UiRolePredicate
public class RealmAdminUiRolePredicate extends Object implements UiRolePredicate
Determines if the user can access the realm administration pages in the UI.
-
-
Constructor Summary
Constructors Constructor Description RealmAdminUiRolePredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapply(org.forgerock.services.context.Context context)StringgetRole()
-
-
-
Method Detail
-
getRole
public String getRole()
- Specified by:
getRolein interfaceUiRolePredicate- Returns:
- The UI role that this predicate is associated with.
-
apply
public boolean apply(org.forgerock.services.context.Context context)
- Specified by:
applyin interfacecom.google.common.base.Predicate<org.forgerock.services.context.Context>
-
-