com.ibm.as400.security.auth
Interface AS400BasicAuthenticationPrincipal
- All Known Implementing Classes:
- UserProfilePrincipal
- public interface AS400BasicAuthenticationPrincipal
The AS400BasicAuthenticationPrincipal interface defines AS/400
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 AS/400 system
based on the given user profile name. |
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 AS/400 system
based on the given user profile name.
- Parameters:
name
- The profile name.- Throws:
- java.lang.Exception - If an exception occurs.