uCosminexus Application Server, Security Management Guide
Description
Corrects single sign-on authentication information. If the specified user does not exist, an exception occurs.
When authentication information listeners for single sign-on are registered in this object, the ssoDataModfied method is called for all such listeners.
With the modifySSOData method, existing information is overwritten with only the modified authentication information that is specified after creation of the SSOData object.
Suppose, for example, the existing single sign-on authentication information in the repository includes the elements shown below.
| Authentication information name | SecretData | PublicData | Mapping | |
|---|---|---|---|---|
| Realm | User ID | |||
| Value | secret | public | RealmA | user1 |
| RealmB | admin | |||
In the parameter of this method, the following code is used to specify the created SSOData object:
SSOData data = new SSOData();
data.setMapping("RealmA", "user2");
The repository stores the following new single sign-on authentication information:
| Authentication information name | SecretData | PublicData | Mapping | |
|---|---|---|---|---|
| Realm | User ID | |||
| Value | secret | public | RealmA | user2 |
| -- | -- | -- | -- | |
Legend:
--: No information is stored.
Syntax
public void modifySSOData(String uid,
SSOData SSOData)
throws SSODataListenerException, NamingException,
CryptoException, UnsatisfiedLinkError, SecurityException;
Parameters
Exceptions
Return value
None
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd