|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.security.Permission
com.ibm.IBMPermission
com.tivoli.mts.PDPermission
public class PDPermission
This class represents an authorization permission for accessing a resource object in the protected domain defined by Policy Director.
PDPermission
allows usage of Policy Director as the authorization backend for normal Java 2
permission checks. In PD 3.7, ivacld offers an SSL-based access mode for remote ACL checking.
Permission check is done by implies() method which sets up an SSL-based connection
to a remote ivacld server for the authorization check.
Permissions are created with resource name and actions. They are immutable once they are created.
The actions must correspond to one of the operations for which a Policy Director permission has been defined. The actions strings use this format: [action group name]action list. Action group name is optional. Action list consists of action names which are one character in length. Examples of valid actions strings are: "[primary]rwc" "rw" "[java]rc[primary]rwx". The following is a list of action names defined and used in Policy Director.
The requested resource to query for must correspond to a resource that has been defined as a protected object within Policy Director's protected object namespace. NOTE: As of IBM Tivoli Access Manager for e-business v5.1, this entire class is deprecated. Equivalent function is in the com.tivoli.pd.jazn.PDPermission class.
PDPermission,
Serialized Form| Constructor Summary | |
|---|---|
PDPermission(java.lang.String rname,
java.lang.String actions)
Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this constructor is replaced by the equivalent constructor in the PDPermission class. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this method is replaced by the equivalent method in the PDPermission class. |
java.lang.String |
getActions()
Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this method is replaced by the equivalent method in the PDPermission class. |
PDMessages |
getPDMessages()
Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this method is replaced by the equivalent method in the PDPermission class. |
int |
hashCode()
Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this method is replaced by the equivalent method in the PDPermission class. |
boolean |
implies(PDPrincipal princ)
Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this method is replaced by the equivalent method in the PDPermission class. |
boolean |
implies(PDPrincipal princ,
PDAttrs inputList,
PDAttrs outputList)
Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this method is replaced by the equivalent method in the PDPermission class. |
boolean |
implies(java.security.Permission p)
Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this method is replaced by the equivalent method in the PDPermission class. |
| Methods inherited from class java.security.Permission |
|---|
checkGuard, getName, newPermissionCollection, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PDPermission(java.lang.String rname,
java.lang.String actions)
PDPermission class.
PDPermission object with the specified actions and resource.
Action names can only be one character in length. Policy Director 3.6 supported the following actions:
rname - name of the target resource object.actions - name of the requested operations. The actions can be concatenated together
to form complex operation strings. The format is "["| Method Detail |
|---|
public boolean implies(java.security.Permission p)
PDPermission class.
More specifically, this method returns true if:
implies in class com.ibm.IBMPermissionp - the permission to check.
true if the specified permission is granted
by Policy Director,false if not.public boolean implies(PDPrincipal princ)
PDPermission class.
More specifically, this method returns true if:
PDPermission's actions are a proper subset of this
object's action map, and
princ - the PDPrincipal whose permissions will be checked.
true if the specified permission is implied by this object,
false if not.
public boolean implies(PDPrincipal princ,
PDAttrs inputList,
PDAttrs outputList)
PDPermission class.
More specifically, this method returns true if:
PDPermission's actions are a proper subset of this
object's action map, and
princ - the PDPrincipal whose permissions will be checked.inputList - the input attribute list passed to server.outputList - the output attribute list received from server.
true if the specified permission is implied by this object,
false if not.public boolean equals(java.lang.Object obj)
PDPermission class.
equals in class com.ibm.IBMPermissionobj - the object we are testing for equality with this object.
true if obj is a PDPermission, and has the same name and
actions as this PDPermission object.public java.lang.String getActions()
PDPermission class.
getActions in class java.security.Permissionpublic int hashCode()
PDPermission class.
hashCode in class com.ibm.IBMPermissionpublic PDMessages getPDMessages()
PDPermission class.
null is returned.
null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||