com.ibm.as400.security.auth
Interface AS400BasicAuthenticationPrincipal
-
- All Superinterfaces:
- java.security.Principal
- All Known Implementing Classes:
- UserProfilePrincipal
public interface AS400BasicAuthenticationPrincipal extends java.security.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
Methods Modifier and Type Method and Description java.lang.String
getUserProfileName()
Returns the user profile name.void
initialize(java.lang.String name)
Initializes a principal for the local IBM i system based on the given user profile name.
-
-
-
Method Detail
-
getUserProfileName
java.lang.String getUserProfileName()
Returns the user profile name.- Returns:
- A String containing the name; empty if not assigned.
-
initialize
void initialize(java.lang.String name) throws java.lang.Exception
Initializes a principal for the local IBM i system based on the given user profile name.- Parameters:
name
- The profile name.- Throws:
java.lang.Exception
- If an exception occurs.
-
-