com.ibm.as400.security.auth
Interface AS400BasicAuthenticationPrincipal

All Known Implementing Classes:
UserProfilePrincipal

public interface AS400BasicAuthenticationPrincipal

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


Method Summary
 java.lang.String getUserProfileName()
          Returns the user profile name.
 void initialize(java.lang.String name)
          Initializes a principal for the local iSeries system based on the given user profile name.
 

Method Detail

getUserProfileName

public java.lang.String getUserProfileName()
Returns the user profile name.

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

initialize

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

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