|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthorizationPermissionFactory
This interface is implemented by classes that are able to create AuthorizationPermission instances, and is invoked by the service providers during loading and saving of policies from and to data storage.
Method Summary | |
---|---|
AuthorizationPermission |
create(AuthorizationResource resource,
AuthorizationRealm realm,
AuthorizationActions actions,
java.lang.String contentModifier)
Create a new authorization permission for the specified resource. |
AuthorizationPermission |
create(java.lang.String resource,
AuthorizationRealm realm)
Create a new authorization permission for the specified resource. |
AuthorizationPermission |
create(java.lang.String resource,
AuthorizationRealm realm,
AuthorizationActions actions)
Create a new authorization permission for the specified resource with the given actions. |
AuthorizationResource |
createResource(java.lang.String name)
Create the AuthorizationResource type for the permission type that this factory creates instances of. |
java.lang.Class |
getPermissionClass()
Get the class that this factory creates instances of. |
Method Detail |
---|
java.lang.Class getPermissionClass()
create
methods.AuthorizationResource createResource(java.lang.String name)
AuthorizationPermission create(AuthorizationResource resource, AuthorizationRealm realm, AuthorizationActions actions, java.lang.String contentModifier)
resource
- the resource identifierrealm
- the realm into which this resource belongsactions
- the actions for the resourcecontentModifier
- the content modifier (may be null)AuthorizationPermission create(java.lang.String resource, AuthorizationRealm realm)
resource
- the resource identifierrealm
- the realm into which this resource belongsAuthorizationPermission create(java.lang.String resource, AuthorizationRealm realm, AuthorizationActions actions)
resource
- the resource identifierrealm
- the realm into which this resource belongsactions
- the actions for the resource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |