Class 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 Detail

      • RealmAdminUiRolePredicate

        public RealmAdminUiRolePredicate()
    • 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>