Class AuthorityReference

  • All Implemented Interfaces:
    java.io.Serializable

    
    public final class AuthorityReference
     implements Serializable
                        

    An authority referenced to a specific entity. Only roles with global scope do not need a referent.

    • Constructor Detail

      • AuthorityReference

        AuthorityReference(RoleAuthority role, String referent)
        Authority reference with given role and the object it refers to.
        Parameters:
        role - user role.
        referent - reference.
      • AuthorityReference

        AuthorityReference(RoleAuthority role)
        Authority reference with given role and the object it refers to.
        Parameters:
        role - user role.
      • AuthorityReference

        AuthorityReference(String authority, String referent)
        Authority reference with given authority and the object it refers to.
        Parameters:
        authority - user authority.
        referent - reference.
      • AuthorityReference

        AuthorityReference(String authority)
        Authority reference with given authority and the object it refers to.
        Parameters:
        authority - user authority.