| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String |
| 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. |
| public String |
| actions | back to summary |
|---|---|
| private final String actions | |
| ANY | back to summary |
|---|---|
| public static final String ANY | |
| DELETE | back to summary |
|---|---|
| public static final String DELETE | |
| INSERT | back to summary |
|---|---|
| public static final String INSERT | |
| READ | back to summary |
|---|---|
| public static final String READ | |
| UPDATE | back to summary |
|---|---|
| public static final String UPDATE | |
| HibernatePermission | back to summary |
|---|---|
| public HibernatePermission(String entityName, String actions) | |
| 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
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string describing this
| |