uCosminexus Application Server, Security Management Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
The addSSOData method
Description
Adds single sign-on authentication information for the specified user. If this information already exists, an exception occurs.
When authentication information listeners for single sign-on are registered in this object, the ssoDataAdded method is called for all such listeners.
Syntax
public void addSSOData(String uid,
SSOData SSOData)
throws SSODataListenerException, NamingException,
CryptoException, UnsatisfiedLinkError, SecurityException;
Parameters
- uid:
- Specifies the user ID.
- ssoData:
- Specifies the SSOData object that holds the single sign-on authentication information.
Exceptions
- com.cosminexus.admin.auth.api.repository.event.SSODataListenerException:
- An attempt to update authentication information for another system has failed.
- com.cosminexus.admin.auth.CryptoException:
- An attempt to read the encryption key file has failed or an attempt to decrypt SecretData has failed due to the use of the wrong encryption key file.
- java.lang.UnsatisfiedLinkError:
- An attempt to read the single sign-on library has failed.
- java.lang.SecurityException:
- SecurityManager is present, and read access to the file using SecurityManager's checkRead method has been rejected.
- javax.naming.CommunicationException:
- An attempt to connect to the LDAP directory server has failed.
- javax.naming.NameAlreadyBoundException:
- Single sign-on authentication information already exists for the specified user.
- Other JNDI exceptions:
- Events such as a bind DN specification error
Return value
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd