| java.lang.Object | |
| ↳ | org.springframework.security.acls.domain.DefaultPermissionFactory |
Default implementation of PermissionFactory.
Used as a strategy by classes which wish to map integer masks and permission names to Permission instances for use with the ACL implementation.
Maintains a registry of permission names and masks to Permission instances.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Registers the Permission fields from the BasePermission class.
| |||||||||||
Registers the Permission fields from the supplied class.
| |||||||||||
Registers a map of named Permission instances.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Dynamically creates a
CumulativePermission or BasePermission representing the
active bits in the passed mask. | |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Registers the public static fields of type
Permission for a give class. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.security.acls.domain.PermissionFactory
| |||||||||||
Registers the Permission fields from the BasePermission class.
Registers the Permission fields from the supplied class.
Registers a map of named Permission instances.
| namedPermissions | the map of Permissions, keyed by name. |
|---|
Dynamically creates a CumulativePermission or BasePermission representing the
active bits in the passed mask.
| mask | to build |
|---|
Registers the public static fields of type Permission for a give class.
These permissions will be registered under the name of the field. See BasePermission
for an example.
| clazz | a Permission class with public static fields to register
|
|---|