public class Authorizer extends Object
| Constructor and Description |
|---|
Authorizer() |
| Modifier and Type | Method and Description |
|---|---|
AuthzModule |
authz(AuthzConfig config)
authz will construct an AuthzModule for the config Object if the config
is a supported type.
|
AuthzModule |
get(String moduleName)
Look up for a authzModule object.
|
AuthzModule |
remove(String moduleName)
Removes a module from the Authorizer
|
public AuthzModule authz(AuthzConfig config)
AuthzTypes.OAUTH2config - a configuration object for the moduleIllegalArgumentException - if the config object is not a supported type.public AuthzModule remove(String moduleName)
moduleName - the name of the modulepublic AuthzModule get(String moduleName)
moduleName - the name of the actual authzModuleCopyright © 2014 JBoss by Red Hat. All rights reserved.