
public final class ElytronPermission extends AbstractNameSetOnlyPermission<ElytronPermission>
name must be one of the following:
authenticatecreateAuthenticatorcreateAuthenticationContextConfigurationClientcreateSecurityDomaincreateSecurityRealmregisterSecurityDomaingetSecurityDomainunregisterSecurityDomainsetRunAsPrincipalcreateServerAuthenticationContextgetPrivateCredentialsgetIdentitygetIdentityForUpdatecreateAdHocIdentityactions 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, newPermissionCollectionequals, hashCode, implies, impliesName, impliesName, nameEquals, nameEqualsequals, getActions, implies, requireEmptyActionscheckGuard, getName, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitand, checkPermission, from, from, from, from, not, or, toPermissionCollection, unless, xorpublic ElytronPermission(String name)
name - the name of the permissionpublic ElytronPermission withName(String name)
AbstractNamedPermissionname.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.