Package org.jboss.as.controller.access
Class AuthorizerConfiguration.ScopedRole
- java.lang.Object
-
- org.jboss.as.controller.access.AuthorizerConfiguration.ScopedRole
-
- Enclosing interface:
- AuthorizerConfiguration
public static final class AuthorizerConfiguration.ScopedRole extends Object
Encapsulates configuration information for a scoped role.
-
-
Constructor Summary
Constructors Constructor Description ScopedRole(String name, String baseRoleName, ScopingConstraint scopingConstraint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBaseRoleName()
Gets the name of the role on which the scoped role is based.String
getName()
Gets the name of the scoped role.ScopingConstraint
getScopingConstraint()
Gets theScopingConstraint
used to apply constraints to the permissions of the base role in order to derive the permissions of the scoped role.
-
-
-
Constructor Detail
-
ScopedRole
public ScopedRole(String name, String baseRoleName, ScopingConstraint scopingConstraint)
-
-
Method Detail
-
getName
public String getName()
Gets the name of the scoped role.- Returns:
- the name of the role. Will not be
null
-
getBaseRoleName
public String getBaseRoleName()
Gets the name of the role on which the scoped role is based.- Returns:
- the name of the base role. Will not be
null
-
getScopingConstraint
public ScopingConstraint getScopingConstraint()
Gets theScopingConstraint
used to apply constraints to the permissions of the base role in order to derive the permissions of the scoped role.- Returns:
- the constraint. Will not be
null
-
-