com.ibm.as400.security.auth
Interface AS400BasicAuthenticationPrincipal

All Superinterfaces:
Principal
All Known Implementing Classes:
UserProfilePrincipal

public interface AS400BasicAuthenticationPrincipal
extends Principal

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


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

Method Detail

getUserProfileName

String getUserProfileName()
Returns the user profile name.

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

initialize

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

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