Package | Description |
---|---|
com.ibm.as400.access |
Provides classes that represent various IBM i data and resources.
|
com.ibm.as400.security.auth |
Provides user profile swapping using IBM i profile token and credential
classes.
|
Modifier and Type | Method | Description |
---|---|---|
ProfileTokenCredential |
AS400.generateProfileToken(String userIdentity,
int tokenType,
int timeoutInterval) |
Generates a profile token on behalf of the provided user identity.
|
ProfileTokenCredential |
AS400.getProfileToken() |
Deprecated.
Use
getProfileToken(int,int) instead. |
ProfileTokenCredential |
AS400.getProfileToken(int tokenType,
int timeoutInterval) |
Authenticates the assigned user profile and password and returns a corresponding ProfileTokenCredential if successful.
|
ProfileTokenCredential |
AS400.getProfileToken(String userId,
char[] password) |
Authenticates the given user profile and password and returns a corresponding ProfileTokenCredential if successful.
|
ProfileTokenCredential |
AS400.getProfileToken(String userId,
char[] password,
int tokenType,
int timeoutInterval) |
Authenticates the given user profile and password and returns a corresponding ProfileTokenCredential if successful.
|
ProfileTokenCredential |
AS400.getProfileToken(String userId,
String password) |
Deprecated.
Use getProfileToken(String userId, char[] password) instead.
|
ProfileTokenCredential |
AS400.getProfileToken(String userId,
String password,
int tokenType,
int timeoutInterval) |
Deprecated.
Using string for password is insecure.
|
Modifier and Type | Method | Description |
---|---|---|
void |
AS400ConnectionPool.fill(String systemName,
String userID,
ProfileTokenCredential profileToken,
int service,
int numberOfConnections) |
Preconnects a specified number of connections to a specific system, userID,
profileToken, and service.
|
void |
AS400ConnectionPool.fill(String systemName,
String userID,
ProfileTokenCredential profileToken,
int service,
int numberOfConnections,
Locale locale) |
Preconnects a specified number of connections to a specific system, userID,
profileToken, service, and Locale.
|
void |
AS400ImplRemote.generateProfileToken(ProfileTokenCredential profileToken,
String userIdentity) |
|
void |
AS400ImplRemote.generateProfileToken(ProfileTokenCredential profileToken,
String userId,
com.ibm.as400.access.CredentialVault vault,
String gssName) |
|
AS400 |
AS400ConnectionPool.getConnection(String systemName,
String userID,
ProfileTokenCredential profileToken) |
Get an AS400 object from the connection pool.
|
AS400 |
AS400ConnectionPool.getConnection(String systemName,
String userID,
ProfileTokenCredential profileToken,
int service) |
Get a connected AS400 object from the connection pool.
|
AS400 |
AS400ConnectionPool.getConnection(String systemName,
String userID,
ProfileTokenCredential profileToken,
int service,
Locale locale) |
Get a connected AS400 object from the connection pool with the specified Locale.
|
AS400 |
AS400ConnectionPool.getConnection(String systemName,
String userID,
ProfileTokenCredential profileToken,
Locale locale) |
Get an AS400 object from the connection pool with the specified Locale.
|
AS400 |
AS400ConnectionPool.getSecureConnection(String systemName,
String userID,
ProfileTokenCredential profileToken) |
Get an secure connected AS400 object from the connection pool.
|
AS400 |
AS400ConnectionPool.getSecureConnection(String systemName,
String userID,
ProfileTokenCredential profileToken,
int service) |
Get a secure connected AS400 object from the connection pool.
|
void |
AS400.setProfileToken(ProfileTokenCredential profileToken) |
Sets or resets the profile token for this object.
|
Constructor | Description |
---|---|
AS400(String systemName,
ProfileTokenCredential profileToken) |
Constructs an AS400 object.
|
SecureAS400(String systemName,
ProfileTokenCredential profileToken) |
Constructs a SecureAS400 object.
|
Modifier and Type | Method | Description |
---|---|---|
ProfileTokenCredential |
DefaultProfileTokenProvider.create() |
Creates and returns a new profile token credential.
|
ProfileTokenCredential |
ProfileTokenProvider.create() |
Creates and returns a new profile token credential.
|
Modifier and Type | Method | Description |
---|---|---|
static void |
Swapper.swap(AS400 system,
ProfileTokenCredential newCredential) |
Swaps the profile on the specified system.
|
static void |
Swapper.swap(Connection connection,
ProfileTokenCredential newCredential) |
Swaps the profile on the specified JDBC connection.
|
Copyright © 2024. All rights reserved.