|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.sun.identity.um.StoreConnection
The StoreConnection class represents a connection to the
Sun ONE Identity Server datastore. It provides methods to creat, remove and
get different type of Sun ONE Identity Server SDK objects in the datatore.
| Constructor Summary | |
StoreConnection(SSOToken ssotoken)
The constructor for opening the connection of the data repository. |
|
| Method Summary | |
AssignableDynamicGroup |
getAssignableDynamicGroup(java.lang.String assignableDynamicGroupDN)
Gets the handle to the AssignableDynamicGroup object represented by DN. |
DynamicGroup |
getDynamicGroup(java.lang.String dynamicGroupDN)
Gets the handle to the DynamicGroup object represented by DN. |
java.lang.String |
getFilteredRoleNamingAttribute()
Gets the filtered role naming attribute. |
java.lang.String |
getGroupNamingAttribute()
Gets the group naming attribute. |
Organization |
getOrganization(java.lang.String orgDN)
Gets the handle to the Organization object represented by DN. |
java.lang.String |
getOrganizationalUnitNamingAttribute()
Gets the organizationalUnit naming attribute. |
java.lang.String |
getOrganizationDN(java.lang.String domainname,
java.lang.String orgSearchTemplate)
Gets the DN of the organization, using the domainname provided and the searchTemplate (if provided). |
java.lang.String |
getOrganizationNamingAttribute()
Gets the org naming attribute. |
Role |
getRole(java.lang.String roleDN)
Gets the handle to the Role object represented by DN. |
java.lang.String |
getRoleNamingAttribute()
Gets the role naming attribute. |
StaticGroup |
getStaticGroup(java.lang.String groupDN)
Gets the handle to the StaticGroup object represented by DN. |
User |
getUser(java.lang.String userDN)
Gets the handle to the User object represented by DN. |
java.lang.String |
getUserNamingAttribute()
Gets the user naming attribute. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StoreConnection(SSOToken ssotoken)
throws UMException
token - ssotoken SSO Token of the userUMException - | Method Detail |
public java.lang.String getUserNamingAttribute()
throws SSOException
SSOException - if the ssotoke is no longer valid
public java.lang.String getGroupNamingAttribute()
throws SSOException
SSOException - if the ssotoke is no longer valid
public java.lang.String getRoleNamingAttribute()
throws SSOException
SSOException - if the ssotoke is no longer valid
public java.lang.String getFilteredRoleNamingAttribute()
throws SSOException
SSOException - if the ssotoke is no longer valid
public java.lang.String getOrganizationNamingAttribute()
throws SSOException
SSOException - if the SSO token is no longer valid.
public java.lang.String getOrganizationalUnitNamingAttribute()
throws SSOException
SSOException - if the SSO token is no longer valid
public User getUser(java.lang.String userDN)
throws UMException,
SSOException
Validity of the DN can be verified by using isExists() method of the object returned.
userDN - user DNUMException - if there is a Remote Exception.SSOException - if ssoToken is invalid or expired.
public java.lang.String getOrganizationDN(java.lang.String domainname,
java.lang.String orgSearchTemplate)
throws UMException,
SSOException
domainname - orgSearchTemplate - template to use for the search.UMException - SSOException -
public Organization getOrganization(java.lang.String orgDN)
throws UMException
Validity of the DN can be verified by using isExists() method of the object returned.
orgDN - organization DNUMException - if there is a remote exception.
public Role getRole(java.lang.String roleDN)
throws UMException
Validity of the DN can be verified by using isExists() method of the object returned.
roleDN - role DNUMException - if there is a remote exception.
public StaticGroup getStaticGroup(java.lang.String groupDN)
throws UMException
Validity of the DN can be verified by using isExists() method of the object returned.
groupDN - group DNUMException - if there is a remote exception.
public AssignableDynamicGroup getAssignableDynamicGroup(java.lang.String assignableDynamicGroupDN)
throws UMException
Validity of the DN can be verified by using isExists() method of the object returned.
assignableDynamicGroupDN - assignable dynamic group DNUMException - if there is a remote exception.
public DynamicGroup getDynamicGroup(java.lang.String dynamicGroupDN)
throws UMException
Validity of the DN can be verified by using isExists() method of the object returned.
dynamicGroupDN - group DNUMException - if there is a remote exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||