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 LoginContextlc-
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 voidcleanUp()Provide an opportunity for client implementations to clean upprotected voidpeformSASLLogin()protected voidperformJAASLogin()protected voidperformSimpleLogin()-
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:
peformSASLLoginin classSecurityClient
-
performJAASLogin
protected void performJAASLogin() throws LoginException- Specified by:
performJAASLoginin classSecurityClient- Throws:
LoginException
-
performSimpleLogin
protected void performSimpleLogin()
- Specified by:
performSimpleLoginin classSecurityClient
-
cleanUp
protected void cleanUp()
Description copied from class:SecurityClientProvide an opportunity for client implementations to clean up- Specified by:
cleanUpin classSecurityClient
-
-