Package org.wildfly.security.authz
Interface PermissionMappable
-
- All Known Implementing Classes:
SecurityIdentity
public interface PermissionMappableAn entity to which permissions can be mapped.- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default AttributesgetAttributes()Get the attributes of this entity.default InstantgetCreationTime()Get the creation time of this entity (if known).default PrincipalgetPrincipal()Get the principal of this entity.default IdentityCredentialsgetPublicCredentials()Get the public credentials of this entity.
-
-
-
Method Detail
-
getAttributes
default Attributes getAttributes()
Get the attributes of this entity.- Returns:
- the attributes of this entity (must not be
null)
-
getPrincipal
default Principal getPrincipal()
Get the principal of this entity.- Returns:
- the principal of this entity (must not be
null)
-
getCreationTime
default Instant getCreationTime()
Get the creation time of this entity (if known).- Returns:
- the creation time of this entity, or
nullif it cannot be determined
-
getPublicCredentials
default IdentityCredentials getPublicCredentials()
Get the public credentials of this entity.- Returns:
- the public credentials (must not be
null)
-
-