Interface Principal.PrincipleId

All Known Implementing Classes:
HrefPrincipleId
Enclosing interface:
Principal

public static interface Principal.PrincipleId
A principleId represents a unique identifier for a principle. It consists of 2 parts; - type - value (optional) The type says this identifier identifies a physical resource or some construct defined by the ACL protocol. If the principal is a physical resource the type will be a Qualified Name with a namespace of D: (ie webdav) and a local name of href (which means the id is a href). If the identifier identifies a protocol contruct the type will identify which construct (which must be known to the protocol and hence to milton), such as D:all, meaning all users Eg <D:href>http://www.example.com/acl/groups/maintainers</D:href> For a specific user or group or <D:all/> - for a group which represents all authenticated users, and is defined by the DAV standard
  • Method Summary

    Modifier and Type
    Method
    Description
    Eg D:href or D:all
    Eg null for an idType of "D:all", or http://blah.com/users/sam for "D:href"
  • Method Details

    • getIdType

      QName getIdType()
      Eg D:href or D:all
      Returns:
    • getValue

      String getValue()
      Eg null for an idType of "D:all", or http://blah.com/users/sam for "D:href"
      Returns: