|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Handles all delegated admin functionality.
| Method Summary | |
void |
addGroupAdmin(ProfileIdentity delegateeUser,
GroupPortal groupPortal)
Deprecated. Adds a GroupAdmin for a given GroupPortal |
void |
addPortalAdmin(ProfileIdentity delegateeUser,
PortalIdentifier portalIdentifier,
List groupPortals)
Deprecated. Adds a PortalAdmin for a given Portal |
boolean |
canAdministerGroupPortal(ProfileIdentity delegateeUser,
GroupPortal groupPortal)
Deprecated. Returns true if the calling Admin is an (SA), (PA with assoc to Portal), or (GA with assoc to GroupPortal) |
boolean |
canAdministerPortal(ProfileIdentity delegateeUser,
PortalIdentifier portalId)
Deprecated. Returns true if the calling Admin is an (SA) or (PA with assoc to Portal) |
boolean |
canDelegateGroupAdmin(ProfileIdentity delegateeUser,
GroupPortal groupPortal)
Deprecated. Returns true if the calling Admin has at least at least 1 delegate capability for the given Portal |
boolean |
canDelegatePortalAdmin(ProfileIdentity delegateeUser,
PortalIdentifier portalId)
Deprecated. Returns true if the Admin has at least at least 1 delegate capability for the given Portal |
void |
copyGroupAdminEntitlements(ProfileIdentity delegateeUser,
GroupPortal sourceGroupPortal,
GroupPortal destinationGroupPortal)
Deprecated. Copy the complete set of capabilities for a given user (Note: Constants can be found in com.bea.portal.entitlement.resource.PortalAdminTaskResourceConstants) This method is used to copy capabilities for a user |
void |
copyPortalAdminEntitlements(ProfileIdentity delegateeUser,
PortalIdentifier sourcePortalId,
PortalIdentifier destinationPortalId)
Deprecated. Copy the complete set of capabilities for a given user (Note: Constants can be found in com.bea.portal.entitlement.resource.PortalAdminTaskResourceConstants) This method is used to copy capabilities for a user |
List |
getGroupAdminEligibleUsers(GroupPortal groupPortal)
Deprecated. Retrieve admin eligible usernames for an SA, PA or GA to choose from when creating a GA for a GroupPortal. |
List |
getGroupAdmins(GroupPortal groupPortal)
Deprecated. Get all GroupAdmin usernames for a GroupPortal for an SA, PA or GA to manage. |
List |
getPortalAdminEligibleGroupAdmins(PortalIdentifier portalId,
List groupPortals)
Deprecated. Retrieve admin eligible existing GroupAdmin user names for an SA or PA to choose from when promoting a GA to a PA for a Portal. |
List |
getPortalAdminEligibleUsers(PortalIdentifier portalIdentifier,
List groupPortals)
Deprecated. Retrieve admin eligible user names for an SA or PA to choose from when creating a PA for a Portal. |
List |
getPortalAdmins(PortalIdentifier portalId)
Deprecated. Get all PortalAdmin usernames for a Portal for an SA or PA to manage (Note: Only PA's will be returned. |
boolean |
isAdmin(ProfileIdentity delegateeUser)
Deprecated. Returns true if the given user is an admin for ANY resource |
boolean |
isAdminEligible(String userName)
Deprecated. Returns true if the given user is a member of the group for users who are elibible to be delegated administrators (usually "AdminEligible", but can be overridden with an env-entry. |
boolean |
isAdminGroup(String userGroup)
Deprecated. Returns true if the given user group is an admin or admin eligible group |
boolean |
isDelegatedAdmin(String userName)
Deprecated. Returns true if the given user is a member of the group for assigned delegated administrators (usually "DelegatedAdministrator", but can be overridden with an env-entry. |
boolean |
isGroupAdminAccessAllowed(ProfileIdentity delegateeUser,
GroupPortal groupPortal,
String resourceType,
String adminTask,
String capabilityKey)
Deprecated. Retrieve a capability for a given key (Note: Constants can be found in com.bea.portal.entitlement.resource.PortalAdminTaskResourceConstants) This method is used by the UI to retrieve capabilities for a user during a capability edit |
boolean |
isMemberOf(String userGroupName,
String userName)
Deprecated. Returns true if the given user is a member of the given group |
boolean |
isPortalAdminAccessAllowed(ProfileIdentity delegateeUser,
PortalIdentifier portalId,
String resourceType,
String adminTask,
String capabilityKey)
Deprecated. Retrieve a capability for a given key (Note: Constants can be found in com.bea.portal.entitlement.resource.PortalAdminTaskResourceConstants) This method is used by the UI to retrieve capabilities for a user during a capability edit |
boolean |
isPortalSystemAdmin(String userName)
Deprecated. Returns true if the given user is a member of the group for Portal System Administrators (usually "SystemAdministrator", but can be overridden with an env-entry. |
boolean |
isWritableRealm()
Deprecated. Checks if the underlying user realm is writable or not |
void |
removeGroupAdmin(ProfileIdentity delegateeUser,
GroupPortal groupPortal)
Deprecated. Removes a GroupAdmin from a given GroupPortal |
void |
removeGroupAdminEntitlements(ProfileIdentity delegateeUser,
GroupPortal groupPortal)
Deprecated. Remove the complete set of capabilities for a given user (Note: Constants can be found in com.bea.portal.entitlement.resource.PortalAdminTaskResourceConstants) This method is used to copy capabilities for a user |
void |
removePortalAdmin(ProfileIdentity delegateeUser,
PortalIdentifier portalIdentifier)
Deprecated. Removes a PortalAdmin from a given Portal |
void |
removePortalAdminEntitlements(ProfileIdentity delegateeUser,
PortalIdentifier portalId)
Deprecated. Remove the complete set of capabilities for a given user (Note: Constants can be found in com.bea.portal.entitlement.resource.PortalAdminTaskResourceConstants) This method is used to copy capabilities for a user |
void |
setGroupAdminAccessAllowed(ProfileIdentity delegateeUser,
GroupPortal groupPortal,
String resourceType,
String adminTask,
String capabilityKey,
boolean capabilityValue)
Deprecated. Set a capability for a given task and capability (Note: Constants can be found in com.bea.portal.entitlement.resource.PortalAdminTaskResourceConstants) This method is used by the UI to set capabilities for a user during a capability edit |
void |
setPortalAdminAccessAllowed(ProfileIdentity delegateeUser,
PortalIdentifier portalId,
String resourceType,
String adminTask,
String capabilityKey,
boolean capabilityValue)
Deprecated. Set a capability for a given task and capability (Note: Constants can be found in com.bea.portal.entitlement.resource.PortalAdminTaskResourceConstants) This method is used by the UI to set capabilities for a user during a capability edit |
| Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
| Method Detail |
public boolean isWritableRealm()
throws RemoteException
RemoteException
public List getPortalAdminEligibleUsers(PortalIdentifier portalIdentifier,
List groupPortals)
throws RemoteException
portalIdentifier - the PortalIdentifier of the PortalgroupPortals - list of all Group Portal objects for the given Portal
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
DelegatedAdminSecurityException - if the caller does not have sufficient rights to perform this action
IllegalArgumentException - if the arguments are not valid
public List getPortalAdminEligibleGroupAdmins(PortalIdentifier portalId,
List groupPortals)
throws RemoteException
groupPortals - list of all Group Portal objects for the given Portal
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
DelegatedAdminSecurityException - if the caller does not have sufficient rights to perform this action
IllegalArgumentException - if the arguments are not valid
public List getGroupAdminEligibleUsers(GroupPortal groupPortal)
throws RemoteException
groupPortal - the GroupPortal
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
DelegatedAdminSecurityException - if the caller does not have sufficient rights to perform this action
IllegalArgumentException - if the arguments are not valid
public List getPortalAdmins(PortalIdentifier portalId)
throws RemoteException
portalId - the PortalIdentifier
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
DelegatedAdminSecurityException - if the caller does not have sufficient rights to perform this action
IllegalArgumentException - if the arguments are not valid
public void addPortalAdmin(ProfileIdentity delegateeUser,
PortalIdentifier portalIdentifier,
List groupPortals)
throws RealmNotWritableAddException,
RemoteException
delegateeUser - the user to add as an AdminportalIdentifier - the PortalIdentifier of the Portal to administergroupPortals - all Group Portals for the Portal - required if GA -> PA promotion is being performed
RemoteException - because of EJB contract
RealmNotWritableAddException - thrown if the underlying realm is not writable (ie. LDAP) during add operation
DelegatedAdminSystemException - if there is a system exception
DelegatedAdminSecurityException - if the caller does not have sufficient rights to perform this action
IllegalArgumentException - if the arguments are not valid
public void removePortalAdmin(ProfileIdentity delegateeUser,
PortalIdentifier portalIdentifier)
throws RemoteException
delegateeUser - the user to remove as a PortalAdminportalIdentifier - the PortalIdentifier of the Portal to administer
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
DelegatedAdminSecurityException - if the caller does not have sufficient rights to perform this action
IllegalArgumentException - if the arguments are not valid
public List getGroupAdmins(GroupPortal groupPortal)
throws RemoteException
groupPortal - the GroupPortal
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
DelegatedAdminSecurityException - if the caller does not have sufficient rights to perform this action
IllegalArgumentException - if the arguments are not valid
public void addGroupAdmin(ProfileIdentity delegateeUser,
GroupPortal groupPortal)
throws RealmNotWritableAddException,
RemoteException
delegateeUser - the user to add as an GroupAdmingroupPortal - the GroupPortal to administer
RemoteException - because of EJB contract
RealmNotWritableAddException - thrown if the underlying realm is not writable (ie. LDAP)
DelegatedAdminSystemException - if there is a system exception
DelegatedAdminSecurityException - if the caller does not have sufficient rights to perform this action
IllegalArgumentException - if the arguments are not valid
public void removeGroupAdmin(ProfileIdentity delegateeUser,
GroupPortal groupPortal)
throws RemoteException
delegateeUser - the user to remove as a PortalAdmingroupPortal - the GroupPortal to administer
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
DelegatedAdminSecurityException - if the caller does not have sufficient rights to perform this action
IllegalArgumentException - if the arguments are not valid
public boolean isPortalAdminAccessAllowed(ProfileIdentity delegateeUser,
PortalIdentifier portalId,
String resourceType,
String adminTask,
String capabilityKey)
throws RemoteException
delegateeUser - the delegatee admin user to set capabilitiesportalId - the PortalIdentifierresourceType - the type of resource - see either PortalAdminTaskResourceConstants or PortalEntitlementResourceConstantsadminTask - the adminTaskcapabilityKey - the key to set a capability
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
DelegatedAdminSecurityException - if the caller does not have sufficient rights to perform this action
IllegalArgumentException - if the arguments are not valid
public boolean isGroupAdminAccessAllowed(ProfileIdentity delegateeUser,
GroupPortal groupPortal,
String resourceType,
String adminTask,
String capabilityKey)
throws RemoteException
delegateeUser - the delegatee admin user to set capabilitiesgroupPortal - the GroupPortalresourceType - the type of resource - see either PortalAdminTaskResourceConstants or PortalEntitlementResourceConstants * @param adminTask the adminTaskcapabilityKey - the key to set a capability
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
DelegatedAdminSecurityException - if the caller does not have sufficient rights to perform this action
IllegalArgumentException - if the arguments are not valid
public void setPortalAdminAccessAllowed(ProfileIdentity delegateeUser,
PortalIdentifier portalId,
String resourceType,
String adminTask,
String capabilityKey,
boolean capabilityValue)
throws RemoteException
delegateeUser - the delegatee admin user to set capabilitiesportalId - the PortalIdentifierresourceType - the type of resource - see either PortalAdminTaskResourceConstants or PortalEntitlementResourceConstantsadminTask - the adminTaskcapabilityKey - the key to set a capability
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
DelegatedAdminSecurityException - if the caller does not have sufficient rights to perform this action
IllegalArgumentException - if the arguments are not valid
public void setGroupAdminAccessAllowed(ProfileIdentity delegateeUser,
GroupPortal groupPortal,
String resourceType,
String adminTask,
String capabilityKey,
boolean capabilityValue)
throws RemoteException
delegateeUser - the delegatee admin user to set capabilitiesgroupPortal - the GroupPortalresourceType - the type of resource - see either PortalAdminTaskResourceConstants or PortalEntitlementResourceConstantsadminTask - the adminTaskcapabilityKey - the key to set a capabilitycapabilityValue - the value of the capability
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
DelegatedAdminSecurityException - if the caller does not have sufficient rights to perform this action
IllegalArgumentException - if the arguments are not valid
public void copyPortalAdminEntitlements(ProfileIdentity delegateeUser,
PortalIdentifier sourcePortalId,
PortalIdentifier destinationPortalId)
throws RemoteException
delegateeUser - the delegatee admin user to set capabilitiessourcePortalId - the source PortalIdentifierdestinationPortalId - the destination PortalIdentifier
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
DelegatedAdminSecurityException - if the caller does not have sufficient rights to perform this action
IllegalArgumentException - if the arguments are not valid
public void copyGroupAdminEntitlements(ProfileIdentity delegateeUser,
GroupPortal sourceGroupPortal,
GroupPortal destinationGroupPortal)
throws RemoteException
delegateeUser - the delegatee admin user to set capabilitiessourceGroupPortal - the source GroupPortaldestinationGroupPortal - the destination GroupPortal
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
DelegatedAdminSecurityException - if the caller does not have sufficient rights to perform this action
IllegalArgumentException - if the arguments are not valid
public void removePortalAdminEntitlements(ProfileIdentity delegateeUser,
PortalIdentifier portalId)
throws RemoteException
delegateeUser - the delegatee admin user to set capabilitiesportalId - the PortalIdentifier
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
DelegatedAdminSecurityException - if the caller does not have sufficient rights to perform this action
IllegalArgumentException - if the arguments are not valid
public void removeGroupAdminEntitlements(ProfileIdentity delegateeUser,
GroupPortal groupPortal)
throws RemoteException
delegateeUser - the delegatee admin user to set capabilitiesgroupPortal - the GroupPortal
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
DelegatedAdminSecurityException - if the caller does not have sufficient rights to perform this action
IllegalArgumentException - if the arguments are not valid
public boolean canDelegatePortalAdmin(ProfileIdentity delegateeUser,
PortalIdentifier portalId)
throws RemoteException
delegateeUser - the delegatee admin user to checkportalId - the Portal
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
DelegatedAdminSecurityException - if the caller does not have sufficient rights to perform this action
IllegalArgumentException - if the arguments are not valid
public boolean canDelegateGroupAdmin(ProfileIdentity delegateeUser,
GroupPortal groupPortal)
throws RemoteException
delegateeUser - the delegatee admin user to checkgroupPortal - the GroupPortal
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
DelegatedAdminSecurityException - if the caller does not have sufficient rights to perform this action
IllegalArgumentException - if the arguments are not valid
public boolean canAdministerPortal(ProfileIdentity delegateeUser,
PortalIdentifier portalId)
throws RemoteException
delegateeUser - the delegatee admin user to checkportalId - the Portal
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
DelegatedAdminSecurityException - if the caller does not have sufficient rights to perform this action
IllegalArgumentException - if the arguments are not valid
public boolean canAdministerGroupPortal(ProfileIdentity delegateeUser,
GroupPortal groupPortal)
throws RemoteException
delegateeUser - the delegatee admin user to checkgroupPortal - the GroupPortal
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
DelegatedAdminSecurityException - if the caller does not have sufficient rights to perform this action
IllegalArgumentException - if the arguments are not valid
public boolean isAdminGroup(String userGroup)
throws RemoteException
userGroup - the User Group
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
IllegalArgumentException - if the arguments are not valid
public boolean isAdmin(ProfileIdentity delegateeUser)
throws RemoteException
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
IllegalArgumentException - if the arguments are not valid
public boolean isMemberOf(String userGroupName,
String userName)
throws RemoteException
userGroupName - the user group nameuserName - the user name
RemoteException - because of EJB contract
DelegatedAdminSystemException - if there is a system exception
IllegalArgumentException - if the arguments are not valid
public boolean isDelegatedAdmin(String userName)
throws RemoteException
userName - the user name
RemoteException - because of EJB contract
public boolean isPortalSystemAdmin(String userName)
throws RemoteException
userName - the user name
RemoteException - because of EJB contract
public boolean isAdminEligible(String userName)
throws RemoteException
userName - the user name
RemoteException - because of EJB contract
|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||