|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuthorizationModule
Represents a Policy Decision Module that is used by the Authorization Context
| Method Summary | |
|---|---|
boolean |
abort()
Abort the Authorization Process |
int |
authorize(Resource resource)
Authorize the resource |
boolean |
commit()
Overall authorization process has succeeded. |
boolean |
destroy()
A final cleanup opportunity offered |
void |
initialize(Subject subject,
CallbackHandler handler,
Map<String,Object> sharedState,
Map<String,Object> options,
RoleGroup roles)
Initialize the module |
| Method Detail |
|---|
boolean abort()
throws AuthorizationException
AuthorizationException
boolean commit()
throws AuthorizationException
AuthorizationException
void initialize(Subject subject,
CallbackHandler handler,
Map<String,Object> sharedState,
Map<String,Object> options,
RoleGroup roles)
subject - the authenticated subjecthandler - CallbackHandlersharedState - state shared with other configured modulesoptions - options specified in the Configuration
for this particular moduleroles - Roles of the subjectint authorize(Resource resource)
resource -
boolean destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||