|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
public interface AMUser
This interface provides methods to manage user. AMUser objects
can be obtained by using AMStoreConnection. A handle to this
object can be obtained by using the DN of the object.
AMStoreConnection amsc = new AMStoreConnection(ssotoken); if
(amsc.doesEntryExist(uDN)) { AMUser user = amsc.getUser(uDN); }
| フィールドの概要 |
|---|
| インタフェース com.iplanet.am.sdk.AMObject から継承されたフィールド |
|---|
ACTIVE, ACTIVE_VALUE, ASSIGNABLE_DYNAMIC_GROUP, DELETED, DELETED_VALUE, DYNAMIC_GROUP, FILTERED_ROLE, GROUP, GROUP_CONTAINER, GROUP_PROFILE, INACTIVE, INACTIVE_VALUE, MANAGED_ROLE, ORGANIZATION, ORGANIZATIONAL_UNIT, PEOPLE_CONTAINER, POLICY, RESOURCE, ROLE, ROLE_PROFILE, SERVICE, STATIC_GROUP, TEMPLATE, UNDETERMINED_OBJECT_TYPE, UNKNOWN_OBJECT_TYPE, USER |
| メソッドの概要 | |
|---|---|
void |
activate()
推奨されていません。 Activates the user. |
void |
assignAssignableDynamicGroup(AMAssignableDynamicGroup assignableDynamicGroup)
推奨されていません。 Assigns a assignable dynamic group to the user. |
void |
assignAssignableDynamicGroup(String assignableDynamicGroupDN)
推奨されていません。 Assigns a assignable dynamic group to the user. |
void |
assignRole(AMRole role)
推奨されていません。 Assigns a role to the user. |
void |
assignRole(String roleDN)
推奨されていません。 Assigns a role to the user. |
void |
assignServices(Set serviceNames)
推奨されていません。 Assigns services to the user. |
void |
assignStaticGroup(AMStaticGroup group)
推奨されていません。 Assigns a static group to the user. |
void |
assignStaticGroup(String groupDN)
推奨されていません。 Assigns a static group to the user. |
void |
deactivate()
推奨されていません。 Deactivates the user. |
Set |
getAllRoleDNs()
推奨されていません。 Gets all the static and filtered roles the user is in. |
Set |
getAssignableDynamicGroupDNs()
推奨されていません。 Gets all the assignable dynamic groups the user is in. |
Set |
getAssignedServices()
推奨されていません。 Gets all service names that are assigned to the user. |
Set |
getFilteredRoleDNs()
推奨されていません。 Gets all the filtered roles the user is in. |
Set |
getRoleDNs()
推奨されていません。 Gets all the static roles the user is in. |
Set |
getStaticGroupDNs()
推奨されていません。 Gets all the static groups the user is in. |
boolean |
isActivated()
推奨されていません。 Returns true if the user is activated. |
void |
removeAssignableDynamicGroup(AMAssignableDynamicGroup assignableDynamicGroup)
推奨されていません。 Removes a assignable dynamic group that is assigned to the user. |
void |
removeAssignableDynamicGroup(String assignableDynamicGroupDN)
推奨されていません。 Removes a assignable dynamic group that is assigned to the user. |
void |
removeRole(AMRole role)
推奨されていません。 Removes a role that is assigned to the user. |
void |
removeRole(String roleDN)
推奨されていません。 Removes a role that is assigned to the user. |
void |
removeStaticGroup(AMStaticGroup group)
推奨されていません。 Removes a static group that is assigned to the user. |
void |
removeStaticGroup(String groupDN)
推奨されていません。 Removes a static group that is assigned to the user. |
String |
rename(String newName,
boolean deleteOldName)
推奨されていません。 Renames the user name (ie., naming attribute of user entry) in the data store. |
| メソッドの詳細 |
|---|
String rename(String newName,
boolean deleteOldName)
throws AMException,
SSOException
Note: This operation directly commits the the user name changes
to the data store. However, it does not save the modified/added
attributes. For saving them explicitly to the data store, use
store() method to save the attributes.
newName - The new user namedeleteOldName - if true deletes the old name, otherwise retains the old name.
DN value for the user
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.
Set getFilteredRoleDNs()
throws AMException,
SSOException
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.
Set getRoleDNs()
throws AMException,
SSOException
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.
Set getAllRoleDNs()
throws AMException,
SSOException
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.
void assignRole(AMRole role)
throws AMException,
SSOException
role - The Role that the user is assigned to.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.
void assignRole(String roleDN)
throws AMException,
SSOException
roleDN - The role DN that the user is assigned to.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.
void removeRole(AMRole role)
throws AMException,
SSOException
role - The Role that the user is assigned to.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.
void removeRole(String roleDN)
throws AMException,
SSOException
roleDN - The role DN that the user is assigned to.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.
Set getStaticGroupDNs()
throws AMException,
SSOException
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.
void assignStaticGroup(AMStaticGroup group)
throws AMException,
SSOException
group - The static group that the user is assigned to.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
void assignStaticGroup(String groupDN)
throws AMException,
SSOException
groupDN - The static group DN that the user is assigned to.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.
void removeStaticGroup(AMStaticGroup group)
throws AMException,
SSOException
group - The static group that the user is assigned to.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.
void removeStaticGroup(String groupDN)
throws AMException,
SSOException
groupDN - The static group DN that the user is assigned to.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.
Set getAssignableDynamicGroupDNs()
throws AMException,
SSOException
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.
void assignAssignableDynamicGroup(AMAssignableDynamicGroup assignableDynamicGroup)
throws AMException,
SSOException
assignableDynamicGroup - The assignable dynamic group that the user is assigned to.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.
void assignAssignableDynamicGroup(String assignableDynamicGroupDN)
throws AMException,
SSOException
assignableDynamicGroupDN - The assignable dynamic group DN that the user is assigned to.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.
void removeAssignableDynamicGroup(AMAssignableDynamicGroup assignableDynamicGroup)
throws AMException,
SSOException
assignableDynamicGroup - The assignable dynamic group that the user is assigned to.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.
void removeAssignableDynamicGroup(String assignableDynamicGroupDN)
throws AMException,
SSOException
assignableDynamicGroupDN - The assignable dynamic group DN that the user is assigned to.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.
void activate()
throws AMException,
SSOException
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.
void deactivate()
throws AMException,
SSOException
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.
boolean isActivated()
throws AMException,
SSOException
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.
Set getAssignedServices()
throws AMException,
SSOException
AMObject 内の getAssignedServicesAMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.
void assignServices(Set serviceNames)
throws AMException,
SSOException
serviceNames - Set of service names
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid.AMObject.assignServices(java.util.Map)
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||