Class ChangeRoleMapperPermission
- java.lang.Object
-
- java.security.Permission
-
- org.wildfly.security.permission.AbstractPermission<This>
-
- org.wildfly.security.permission.AbstractNamedPermission<This>
-
- org.wildfly.security.permission.AbstractNameOnlyPermission<ChangeRoleMapperPermission>
-
- org.wildfly.security.auth.permission.ChangeRoleMapperPermission
-
- All Implemented Interfaces:
Serializable
,Guard
,PermissionVerifier
public final class ChangeRoleMapperPermission extends AbstractNameOnlyPermission<ChangeRoleMapperPermission>
The permission to change a role mapper category on a security identity.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Fields inherited from interface org.wildfly.security.permission.PermissionVerifier
ALL, NONE
-
-
Constructor Summary
Constructors Constructor Description ChangeRoleMapperPermission(String name)
Construct a new instance.ChangeRoleMapperPermission(String name, String ignored)
Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeRoleMapperPermission
withName(String name)
Create a new permission which is identical to this one, except with a newname
.-
Methods inherited from class org.wildfly.security.permission.AbstractNameOnlyPermission
newPermissionCollection
-
Methods inherited from class org.wildfly.security.permission.AbstractNamedPermission
equals, hashCode, implies, impliesName, impliesName, impliesName, nameEquals, nameEquals, nameEquals, nameHashCode
-
Methods inherited from class org.wildfly.security.permission.AbstractPermission
equals, getActions, implies, requireEmptyActions
-
Methods inherited from class java.security.Permission
checkGuard, getName, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.wildfly.security.permission.PermissionVerifier
and, checkPermission, not, or, toPermissionCollection, unless, xor
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ChangeRoleMapperPermission
public ChangeRoleMapperPermission(String name)
Construct a new instance.- Parameters:
name
- the category name, or*
for all categories
-
-
Method Detail
-
withName
public ChangeRoleMapperPermission withName(String name)
Description copied from class:AbstractNamedPermission
Create a new permission which is identical to this one, except with a newname
.- Specified by:
withName
in classAbstractNamedPermission<ChangeRoleMapperPermission>
- Parameters:
name
- the name to use (must not benull
)- Returns:
- the new permission
-
-