|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.security.Permission
com.sap.security.api.permissions.NamePermission
com.sap.security.api.permissions.ValuePermission
public class ValuePermission
This class implements ValuePermission, i.e. a named permission with an associated value.
NamePermission,
Permission,
Serialized Form| Constructor Summary | |
|---|---|
ValuePermission(String name,
String actions)
Creates a new ValuePermission object with the specified name. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Checks two ValuePermission objects for equality. |
String |
getActions()
Returns the canonical string representation of the actions. |
int |
hashCode()
Returns the hash code value for this object. |
boolean |
implies(Permission permission)
Check and see if this set of permissions implies the permissions expressed in "permission". |
| Methods inherited from class java.security.Permission |
|---|
checkGuard, getName, newPermissionCollection, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ValuePermission(String name,
String actions)
name - the name of the permissionactions - the value.| Method Detail |
|---|
public boolean implies(Permission permission)
implies in class NamePermissionpermission - the Permission object to compare
public boolean equals(Object obj)
equals in class NamePermissionobj - the object we are testing for equality with this object.
public int hashCode()
getName().hashCode(), plus the hash code of the actions,
that is, getActions().hashCode()
hashCode in class NamePermissionpublic String getActions()
getActions in class NamePermission| Access Rights |
|---|
| SC | DC |
|---|---|
[sap.com] ENGINEAPI
|
[sap.com] com.sap.security.api.sda
|
[sap.com] ENGFACADE
|
[sap.com] tc/je/usermanagement/api
|
[sap.com] CORE-TOOLS
|
[sap.com] com.sap.engine.client.lib
|
|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||