public class JBossSecurityClient extends SecurityClient
SecurityClient sc = SecurityClientFactory.getSecurityClient(JBossSecurityClient.class) sc.setUserName(somestring); etc... sc.login();
Modifier and Type | Field and Description |
---|---|
protected LoginContext |
lc |
callbackHandler, credential, jaasDesired, loginConfigName, saslAuthorizationId, saslDesired, saslMechanism, userPrincipal, vmwideAssociation
Constructor and Description |
---|
JBossSecurityClient() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanUp()
Provide an opportunity for client implementations to clean up
|
protected void |
peformSASLLogin() |
protected void |
performJAASLogin() |
protected void |
performSimpleLogin() |
isVmwideAssociation, login, logout, setJAAS, setSASL, setSimple, setVmwideAssociation
protected LoginContext lc
protected void peformSASLLogin()
peformSASLLogin
in class SecurityClient
protected void performJAASLogin() throws LoginException
performJAASLogin
in class SecurityClient
LoginException
protected void performSimpleLogin()
performSimpleLogin
in class SecurityClient
protected void cleanUp()
SecurityClient
cleanUp
in class SecurityClient
Copyright © 2019 JBoss by Red Hat. All rights reserved.