|
WebLogic Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.bea.wlpi.common.security.PermissionInfo
Holds permisssion infomation about a principal.
Objects of this class holds various permissions defined by
EnumPermission for a particular principal. These
are the Serializable objects that will be transmitting
across the application server boundary.
| Constructor Summary | |
protected |
PermissionInfo(java.lang.String principalId)
Create a new PermissionInfo object. |
| Method Summary | |
java.lang.String |
getPrincipalId()
Return the principal ID. |
boolean |
hasPermission(EnumPermission permission)
Check whether the principal has a specific permission |
void |
setPermission(EnumPermission permission,
boolean val)
Set a specific permission of the principal to val. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
protected PermissionInfo(java.lang.String principalId)
PermissionInfo object.
principalId - WebLogic Process Integrator principal ID.| Method Detail |
public final java.lang.String getPrincipalId()
public boolean hasPermission(EnumPermission permission)
permission
permission - The specific permission.true if the principal has the specific permission.
public void setPermission(EnumPermission permission,
boolean val)
permission of the principal to val.
permission - The specific permission.val - Grant the permission if val is true.
|
WebLogic Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||