public final class ElytronPermission extends AbstractNameSetOnlyPermission<ElytronPermission>
name
must be one of the following:
authenticate
createAuthenticator
createAuthenticationContextConfigurationClient
createSecurityDomain
createSecurityRealm
registerSecurityDomain
getSecurityDomain
unregisterSecurityDomain
setRunAsPrincipal
createServerAuthenticationContext
getPrivateCredentials
getIdentity
getIdentityForUpdate
createAdHocIdentity
actions
are not used and should be empty or null
.ALL, NONE
Constructor and Description |
---|
ElytronPermission(String name)
Construct a new instance.
|
ElytronPermission(String name,
String actions)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
static ElytronPermission |
forName(String name)
Get the permission with the given name.
|
ElytronPermission |
withName(String name)
Create a new permission which is identical to this one, except with a new
name . |
impliesName, nameEquals, nameHashCode, newPermissionCollection
equals, hashCode, implies, impliesName, impliesName, nameEquals, nameEquals
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 ElytronPermission(String name)
name
- the name of the permissionpublic ElytronPermission withName(String name)
AbstractNamedPermission
name
.withName
in class AbstractNamedPermission<ElytronPermission>
name
- the name to use (must not be null
)public static ElytronPermission forName(String name)
name
- the name (must not be null
)null
)IllegalArgumentException
- if the name is not validCopyright © 2020 JBoss by Red Hat. All rights reserved.