|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-06 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
java.security.Permission
oracle.security.jps.service.credstore.CredentialAccessPermission
public final class CredentialAccessPermission
The CredentialAccessPermission class is responsible for implementing the fine-grained access control model of CSF.
The name for a CredentialAccessPermission is the name of the given permission The naming convention follows the hierarchical property naming convention. The supported target format is context=SYSTEM,mapName=M1,keyName=K1 where M1 and K1 are map name and key name respectively and '*' can be used to represent all map names and/or all key names The supported action format is 'read,write,update,delete'. A '*' can be used to represent all actions.
| Constructor Summary | |
|---|---|
CredentialAccessPermission(java.lang.String name, java.lang.String actions)Creates a new CredentialAccessPermission instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)Checks two Permission objects for equality. |
java.lang.String |
getActions()Returns the actions of this permission as a string. |
int |
hashCode()Returns the hash code value for this object. |
boolean |
implies(java.security.Permission permission)Checks if the specified permission is "implied" by this object. |
java.security.PermissionCollection |
newPermissionCollection() |
| Methods inherited from class java.security.Permission |
|---|
checkGuard, getName, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CredentialAccessPermission(java.lang.String name,
java.lang.String actions)
CredentialAccessPermission instance.
name - The target name. Supported format is context=SYSTEM,mapName=M,keyName=Kactions - The action attribute which can be read, write, update, delete| Method Detail |
|---|
public java.lang.String getActions()
getActions in class java.security.Permissionpublic boolean implies(java.security.Permission permission)
More specifically, this method returns true if:
implies in class java.security.Permissionpermission - the permission to check against.public int hashCode()
hashCode in class java.security.Permissionpublic boolean equals(java.lang.Object obj)
equals in class java.security.Permissionobj - - the object we are testing for equality with this object.public java.security.PermissionCollection newPermissionCollection()
newPermissionCollection in class java.security.Permission
|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-06 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||