Package ch.tocco.nice2.security.api
package ch.tocco.nice2.security.api
-
ClassDescriptionThe
Guardprotects a single object.The result of a permission evaluation.Provides additional functionality for custom guard implementations, like access to the current principal and security context as well as the ability to evaluate conditions.A contribution which enables other modules to inject customGuardimplementations to enable custom security behaviour for certain objects.Provider for implied roles.Exception thrown by theSecurityManagerwhen the policy validation fails.Represents the permission to perform a certain operation.A set of rules.Result object of aPolicyValidator.The principal represents a user.Interface to the principal store.A principal's role.Represents a single rule in the policy.Rule.Key<T>The security context of the current principal and factory forGuards.Factory forSecurityContexts.Utility methods dealing withPrincipalandSecurityManager.Exception thrown when the permission for a certain operation is denied.