public class WebSphereCredentials extends Credentials implements CallbackHandler
log| Constructor and Description |
|---|
WebSphereCredentials(String alias,
String defaultUsername,
String defaultPassword) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
getCredentialsFromAlias() |
LoginContext |
getLoginContext()
return a loginContext, obtained by logging in using the obtained credentials
|
void |
handle(Callback[] callbacks) |
String |
invokeCharArrayGetter(Object o,
String name) |
boolean |
isAliasFound() |
getAlias, getPassword, getUsername, setAlias, setPassword, setUsername, toStringpublic String invokeCharArrayGetter(Object o, String name) throws SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handle in interface CallbackHandlerIOExceptionUnsupportedCallbackExceptionpublic LoginContext getLoginContext() throws LoginException
LoginExceptionprotected void getCredentialsFromAlias()
getCredentialsFromAlias in class Credentialspublic boolean isAliasFound()
Copyright © 2023 Frank!Framework. All rights reserved.