Class GlobalAdminUiRolePredicate

  • All Implemented Interfaces:
    com.google.common.base.Predicate<org.forgerock.services.context.Context>, Predicate<org.forgerock.services.context.Context>, UiRolePredicate

    public class GlobalAdminUiRolePredicate
    extends Object
    implements UiRolePredicate
    Determines if the user can access global administration pages within the UI.
    • Constructor Detail

      • GlobalAdminUiRolePredicate

        public GlobalAdminUiRolePredicate()
    • Method Detail

      • getRole

        public String getRole()
        Specified by:
        getRole in interface UiRolePredicate
        Returns:
        The UI role that this predicate is associated with.
      • apply

        public boolean apply​(org.forgerock.services.context.Context context)
        Specified by:
        apply in interface com.google.common.base.Predicate<org.forgerock.services.context.Context>