Elytron's Authorization API
- Pedro Igor
Interface Summary Interface Description AttributesA collection of string attributes. Attributes.EntryThe entry collection for a mapping. Attributes.SetEntryThe entry collection for a mapping whose values are a distinct set. AuthorizationIdentityA realm's authorization identity. PermissionMappableAn entity to which permissions can be mapped. PermissionMapperA permission mapper is responsible to enable permission mapping to a
SecurityDomainin order to obtain and check permissions based on an previously authorized identity and any other authorization information (eg.: roles) associated with it.
RoleDecoderA decoder to extract role information from an identity's attributes. RoleMapperA role mapper is responsible for mapping roles based on their raw form. RolesA collection of roles.
Class Summary Class Description AggregateAttributesAn implementation of
Attributesaggregating multiple instances.
MapAttributesA map-backed attributes collection. MappedRoleMapperA simple mapping role mapper. MappedRoleMapper.BuilderA builder for map backed role mappers. RegexRoleMapperA pattern role mapper. RegexRoleMapper.Builder SimpleAttributesEntry SimplePermissionMapper SimplePermissionMapper.BuilderA builder for simple permission mappers. SourceAddressRoleDecoderA decoder to obtain role information using the source IP address runtime attribute from the identity.
Enum Summary Enum Description SimplePermissionMapper.MappingModeMode defining behaviour when multiple mappings are found.
Exception Summary Exception Description AuthorizationCheckExceptionAn exception indicating that an identity authorization check has failed. AuthorizationExceptionA general authorization exception. AuthorizationFailureExceptionAn exception indicating that an authorization check failed for reasons not related to the actual authorization of the identity.