Class StandardRBACAuthorizer

java.lang.Object
org.jboss.as.controller.access.permission.ManagementPermissionAuthorizer
org.jboss.as.controller.access.rbac.StandardRBACAuthorizer
All Implemented Interfaces:
Authorizer

public final class StandardRBACAuthorizer extends ManagementPermissionAuthorizer
Standard Authorizer implementation that uses a provided RoleMapper to construct a DefaultPermissionFactory, with that permission factory used for the permissions used by the superclass implementation.

Also supports the allowed roles being specified via a roles operation-header in the top level operation whose value is the name of a role or a DMR list of strings each of which is the name of a role.

This operation-header based approach is only secure to the extent the clients using it are secure. To use this approach the client must authenticate, and the underlying. So, by adding the roles operation-header to the request the client can only reduce its privileges, not increase them.

Author:
Brian Stansberry (c) 2013 Red Hat Inc.