@Contract
public interface AppClientSecurityInfo
Modifier and Type | Interface and Description |
---|---|
static class |
AppClientSecurityInfo.CredentialType |
Modifier and Type | Method and Description |
---|---|
void |
clearClientSecurityContext()
Clears the Client's current Security Context.
|
Subject |
doClientLogin(AppClientSecurityInfo.CredentialType credType)
Do a client login using the CredentialType
|
int |
getCredentialEncoding(AppClientSecurityInfo.CredentialType type) |
void |
initializeSecurity(List<org.glassfish.appclient.client.acc.config.TargetServer> tServers,
List<org.glassfish.appclient.client.acc.config.MessageSecurityConfig> msgSecConfigs,
CallbackHandler handler,
AppClientSecurityInfo.CredentialType appclientCredType,
String username,
char[] password,
boolean isJWS,
boolean useGUIAuth)
Initialize Security Runtime for the AppContainerr (Stores, SecurityManager, JSR 196 etc)
|
boolean |
isLoginCancelled()
Check if the Login attempt was cancelled.
|
void initializeSecurity(List<org.glassfish.appclient.client.acc.config.TargetServer> tServers, List<org.glassfish.appclient.client.acc.config.MessageSecurityConfig> msgSecConfigs, CallbackHandler handler, AppClientSecurityInfo.CredentialType appclientCredType, String username, char[] password, boolean isJWS, boolean useGUIAuth)
container
- the Appclient Configuration Objecthandler
- the CallbackHandlerappclientCredType
- The CredentialType of the Appclientusername
- the static username if any was configuredpassword
- the static password if any was configuredint getCredentialEncoding(AppClientSecurityInfo.CredentialType type)
type
- the credential typeSubject doClientLogin(AppClientSecurityInfo.CredentialType credType)
credType
- void clearClientSecurityContext()
boolean isLoginCancelled()
Copyright © 2019. All rights reserved.