public interface AuthorizationModule
| Modifier and Type | Method and Description |
|---|---|
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
|
boolean abort()
throws AuthorizationException
AuthorizationExceptionboolean commit()
throws AuthorizationException
AuthorizationExceptionvoid 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()
Copyright © 2018 JBoss by Red Hat. All rights reserved.