| Modifier and Type | Field and Description |
|---|---|
| private final Set | |
| public static final String | CONSTRAINTS
Enable the setting of the constraints. |
| public static final String | DEFAULT_RANDOM
Enable the setting of the default SecureRandom. |
| public static final String | GLOBAL_CONFIG
Enable the setting of global configuration properties. |
| public static final String | THREAD_LOCAL_CONFIG
Enable the setting of thread local configuration properties. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the object we are testing for equality with this object. obj)Implements abstract java. Permission objects for equality.
|
| public String | getActions()
Implements abstract java. String.
|
| public int | hashCode()
Implements abstract java. Permission object.
|
| public boolean | implies(Permission
the permission to check against. permission)Implements abstract java. |
| actions | back to summary |
|---|---|
| private final Set<String> actions | |
| CONSTRAINTS | back to summary |
|---|---|
| public static final String CONSTRAINTS Enable the setting of the constraints. | |
| DEFAULT_RANDOM | back to summary |
|---|---|
| public static final String DEFAULT_RANDOM Enable the setting of the default SecureRandom. | |
| GLOBAL_CONFIG | back to summary |
|---|---|
| public static final String GLOBAL_CONFIG Enable the setting of global configuration properties. This permission implies THREAD_LOCAL_CONFIG | |
| THREAD_LOCAL_CONFIG | back to summary |
|---|---|
| public static final String THREAD_LOCAL_CONFIG Enable the setting of thread local configuration properties. | |
| CryptoServicesPermission | back to summary |
|---|---|
| public CryptoServicesPermission(String name) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Implements abstract java. Doc from java. Checks two
Do not use the
| |
| getActions | back to summary |
|---|---|
| public String getActions() Implements abstract java. Doc from java. Returns the actions as a perm1 = new FilePermission(p1,"read,write"); perm2 = new FilePermission(p2,"write,read");both return "read,write" when the getActions method is invoked.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract java. Doc from java. Returns the hash code value for this
The required
| |
| implies | back to summary |
|---|---|
| public boolean implies(Permission permission) Implements abstract java. Doc from java. Checks if the specified permission's actions are "implied by" this object's actions.
This must be implemented by subclasses of The
| |