Package io.milton.principal
Interface DiscretePrincipal
- All Known Subinterfaces:
CalDavPrincipal,CardDavPrincipal,DirectoryGatewayCardDavPrincipal
Indicates a principle which is identifiable by a URL, like a user or
an application defined group
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.milton.principal.Principal
Principal.PrincipleId -
Method Summary
Modifier and TypeMethodDescriptionA URL to identify this principle **and** the owner of this principal.Methods inherited from interface io.milton.principal.Principal
getIdenitiferMethods inherited from interface io.milton.resource.Resource
authenticate, authorise, checkRedirect, getModifiedDate, getName, getRealm, getUniqueId
-
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:
-