com.ibm.as400.security.auth
Interface AS400BasicAuthenticationPrincipal

All Superinterfaces:
Principal
All Known Implementing Classes:
UserProfilePrincipal

public interface AS400BasicAuthenticationPrincipal
extends Principal

The AS400BasicAuthenticationPrincipal interface defines iSeries principals that can be exploited by authentication services that rely on basic user and password authentication.


Method Summary
 String getUserProfileName()
          Returns the user profile name.
 void initialize(String name)
          Initializes a principal for the local iSeries system based on the given user profile name.
 
Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString
 

Method Detail

getUserProfileName

public String getUserProfileName()
Returns the user profile name.

Returns:
A String containing the name; empty if not assigned.

initialize

public void initialize(String name)
                throws Exception
Initializes a principal for the local iSeries system based on the given user profile name.

Parameters:
name - The profile name.
Throws:
Exception - If an exception occurs.