Package ch.tocco.nice2.security.api
package ch.tocco.nice2.security.api
-
ClassDescriptionThe
Guard
protects 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 customGuard
implementations to enable custom security behaviour for certain objects.Provider for implied roles.Exception thrown by theSecurityManager
when 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 forGuard
s.Factory forSecurityContext
s.Utility methods dealing withPrincipal
andSecurityManager
.Exception thrown when the permission for a certain operation is denied.