|
||||||||||
| 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(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler handler,
java.util.Map<java.lang.String,java.lang.Object> sharedState,
java.util.Map<java.lang.String,java.lang.Object> options,
org.jboss.security.identity.RoleGroup roles)
Initialize the module |
| Method Detail |
|---|
boolean abort()
throws AuthorizationException
AuthorizationException
boolean commit()
throws AuthorizationException
AuthorizationException
void initialize(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler handler,
java.util.Map<java.lang.String,java.lang.Object> sharedState,
java.util.Map<java.lang.String,java.lang.Object> options,
org.jboss.security.identity.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 | |||||||||