Interface DiscretePrincipal

All Superinterfaces:
Principal, Resource
All Known Subinterfaces:
CalDavPrincipal, CardDavPrincipal, DirectoryGatewayCardDavPrincipal

public interface DiscretePrincipal extends Principal, Resource
Indicates a principle which is identifiable by a URL, like a user or an application defined group
  • Method Details

    • getPrincipalURL

      String getPrincipalURL()
      A URL to identify this principle **and** the owner of this principal. Note the relationship between this and the AccessControlledResource.getPrincipalURL method which returns the principal that owns the resource. It is assumed that where a AccessControlledResource instance is also a DiscretePrincipal that the getPrincipalURL method will return the url of itself. In other words, we make the semantic decision that a principle owns itself.
      Returns: