Package org.jboss.security.client
Class JBossSecurityClient
- java.lang.Object
-
- org.jboss.security.client.SecurityClient
-
- org.jboss.security.client.JBossSecurityClient
-
public class JBossSecurityClient extends SecurityClient
Implementation of the SecurityClient contract
Usage:SecurityClient sc = SecurityClientFactory.getSecurityClient(JBossSecurityClient.class) sc.setUserName(somestring); etc... sc.login();
- Since:
- May 1, 2007
- Version:
- $Revision$
- Author:
- Anil.Saldhana@redhat.com
-
-
Field Summary
Fields Modifier and Type Field Description protected LoginContext
lc
-
Fields inherited from class org.jboss.security.client.SecurityClient
callbackHandler, credential, jaasDesired, loginConfigName, saslAuthorizationId, saslDesired, saslMechanism, userPrincipal, vmwideAssociation
-
-
Constructor Summary
Constructors Constructor Description JBossSecurityClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
cleanUp()
Provide an opportunity for client implementations to clean upprotected void
peformSASLLogin()
protected void
performJAASLogin()
protected void
performSimpleLogin()
-
Methods inherited from class org.jboss.security.client.SecurityClient
isVmwideAssociation, login, logout, setJAAS, setSASL, setSimple, setVmwideAssociation
-
-
-
-
Field Detail
-
lc
protected LoginContext lc
-
-
Method Detail
-
peformSASLLogin
protected void peformSASLLogin()
- Specified by:
peformSASLLogin
in classSecurityClient
-
performJAASLogin
protected void performJAASLogin() throws LoginException
- Specified by:
performJAASLogin
in classSecurityClient
- Throws:
LoginException
-
performSimpleLogin
protected void performSimpleLogin()
- Specified by:
performSimpleLogin
in classSecurityClient
-
cleanUp
protected void cleanUp()
Description copied from class:SecurityClient
Provide an opportunity for client implementations to clean up- Specified by:
cleanUp
in classSecurityClient
-
-