public final class RunAsPrincipalPermission extends AbstractNameOnlyPermission<RunAsPrincipalPermission>
ALL, NONE
Constructor and Description |
---|
RunAsPrincipalPermission(String name)
Construct a new instance.
|
RunAsPrincipalPermission(String name,
String ignored)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
RunAsPrincipalPermission |
withName(String name)
Create a new permission which is identical to this one, except with a new
name . |
newPermissionCollection
equals, hashCode, implies, impliesName, impliesName, impliesName, nameEquals, nameEquals, nameEquals, nameHashCode
equals, getActions, implies, requireEmptyActions
checkGuard, getName, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
and, checkPermission, from, from, from, from, not, or, toPermissionCollection, unless, xor
public RunAsPrincipalPermission(String name)
name
- the principal name, or *
for global run-as permissionspublic RunAsPrincipalPermission withName(String name)
AbstractNamedPermission
name
.withName
in class AbstractNamedPermission<RunAsPrincipalPermission>
name
- the name to use (must not be null
)Copyright © 2019 JBoss by Red Hat. All rights reserved.