com.ibm.security.userregistry
Interface User

All Superinterfaces:
Principal
All Known Implementing Classes:
RACF_User

public interface User
extends Principal

Extends java.security.Principal by providing methods to get the attributes of user and the groups that the user belongs to


Method Summary
 BasicAttributes getAttributes()
          Returns user attributes for this user from security repository
 Enumeration getGroups()
          Returns Enumeration of UserGroups which user is a member of
 String getName()
          Returns the name of this user.
 
Methods inherited from interface java.security.Principal
equals, hashCode, toString
 

Method Detail

getAttributes

public BasicAttributes getAttributes()
                              throws SecAdminException
Returns user attributes for this user from security repository

Throws:
SecAdminException

getGroups

public Enumeration getGroups()
                      throws SecAdminException
Returns Enumeration of UserGroups which user is a member of

Throws:
SecAdminException

getName

public String getName()
Returns the name of this user. Value returned by getName would equal the username used on SecAdmin.getUser(username)

Specified by:
getName in interface Principal
See Also:
Principal.getName()