public abstract class AuthorizationModuleDelegate extends Object
Modifier and Type | Field and Description |
---|---|
protected PolicyRegistration |
policyRegistration
Policy Registration Manager Injected
|
Constructor and Description |
---|
AuthorizationModuleDelegate() |
Modifier and Type | Method and Description |
---|---|
abstract int |
authorize(Resource resource,
Subject subject,
RoleGroup role) |
void |
setPolicyRegistrationManager(PolicyRegistration pm)
Set the PolicyRegistration manager
Will be used to query for the policies
|
protected PolicyRegistration policyRegistration
public abstract int authorize(Resource resource, Subject subject, RoleGroup role)
resource
- subject
- Authenticated Subjectrole
- RoleGroupAuthorizationModule.authorize(Resource)
public void setPolicyRegistrationManager(PolicyRegistration pm)
pm
- Copyright © 2016 JBoss by Red Hat. All rights reserved.