uCosminexus Application Server, Security Management Guide

[Contents][Index][Back][Next]

The getUserData method

Description

Obtains user information. The acquired UserData object does not contain a password.

Syntax

public UserData getUserData(String uid)
  throws NamingException;

Parameter

uid:
Specifies the user ID.

Exceptions

javax.naming.CommunicationException:
An attempt to connect to the LDAP directory server has failed.

javax.naming.NameNotFoundException:
The specified user ID is missing.

Other JNDI exceptions:
Events such as a bind DN specification error

Return value

The UserData object that holds the user information