com.bea.wlpi.common.security
Class UserPermissionInfo
java.lang.Object
|
+--com.bea.wlpi.common.security.PermissionInfo
|
+--com.bea.wlpi.common.security.UserPermissionInfo
- All Implemented Interfaces:
- java.io.Serializable
- public final class UserPermissionInfo
- extends PermissionInfo
Holds permisssion infomation about a WLPI user.
Objects of this class holds various permissions defined by
EnumPermission
for a particular WLPI user. These
are the Serializable
objects that will be transmitting
across the application server boundary.
- See Also:
- Serialized Form
Constructor Summary |
UserPermissionInfo(java.lang.String userId)
Create a new UserPermissionInfo object. |
UserPermissionInfo(java.lang.String userId,
java.util.List roles)
Create a new UserPermissionInfo object. |
Method Summary |
java.util.List |
getRoles()
Return a List of RoleInfos in which the user has a membership. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserPermissionInfo
public UserPermissionInfo(java.lang.String userId)
- Create a new UserPermissionInfo object.
- Parameters:
userId
- The WLPI user ID.
UserPermissionInfo
public UserPermissionInfo(java.lang.String userId,
java.util.List roles)
- Create a new UserPermissionInfo object.
- Parameters:
userId
- The WLPI user ID.roles
- A List of RoleInfos in which the user has a membership.
If it is empty or null, then the user is considered as having no
membership in any roles.
getRoles
public final java.util.List getRoles()
- Return a List of RoleInfos in which the user has a membership.
- Returns:
- The role IDs. If it is empty or null, then the user is
considered as having no membership
BEA WebLogic Process Integrator is a trademark of BEA Systems, Inc.
Copyright (c) 2001 BEA Systems, Inc.
All rights reserved.