Class AddPrefixRoles

    • Field Detail

      • delegate

        private final Roles delegate
      • prefix

        private final String prefix
    • Constructor Detail

      • AddPrefixRoles

        AddPrefixRoles​(Roles delegate,
                       String prefix)
    • Method Detail

      • contains

        public boolean contains​(String roleName)
        Description copied from interface: Roles
        Determine if this collection contains the given role name.
        Specified by:
        contains in interface Roles
        roleName - the role name
        true if the role is contained in this collection, false otherwise