public class CredentialStorePermission extends AbstractNameSetOnlyPermission<CredentialStorePermission>
loadCredentialStore
retrieveCredential
modifyCredentialStore
Modifier and Type | Field and Description |
---|---|
static CredentialStorePermission |
LOAD_CREDENTIAL_STORE
Load credential store permission.
|
static CredentialStorePermission |
MODIFY_CREDENTIAL_STORE
Store or delete credential (password) permission (from credential store).
|
static CredentialStorePermission |
RETRIEVE_CREDENTIAL
Retrieve credential (password) permission (from credential store).
|
ALL, NONE
Constructor and Description |
---|
CredentialStorePermission(String name)
Creates new
CredentialStorePermission |
CredentialStorePermission(String name,
String actions)
Creates new
CredentialStorePermission |
Modifier and Type | Method and Description |
---|---|
static CredentialStorePermission |
forName(String name)
Get the permission with the given name.
|
CredentialStorePermission |
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 static final CredentialStorePermission LOAD_CREDENTIAL_STORE
public static final CredentialStorePermission RETRIEVE_CREDENTIAL
public static final CredentialStorePermission MODIFY_CREDENTIAL_STORE
public CredentialStorePermission(String name)
CredentialStorePermission
name
- of new CredentialStorePermission
public CredentialStorePermission withName(String name)
AbstractNamedPermission
name
.withName
in class AbstractNamedPermission<CredentialStorePermission>
name
- the name to use (must not be null
)public static CredentialStorePermission 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.