org.jboss.security.client
Class JBossSecurityClient
java.lang.Object
org.jboss.security.client.SecurityClient
org.jboss.security.client.JBossSecurityClient
public class JBossSecurityClient
- extends org.jboss.security.client.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
Fields inherited from class org.jboss.security.client.SecurityClient |
callbackHandler, credential, jaasDesired, loginConfigName, saslAuthorizationId, saslDesired, saslMechanism, userPrincipal, vmwideAssociation |
Methods inherited from class org.jboss.security.client.SecurityClient |
isVmwideAssociation, login, logout, setJAAS, setSASL, setSimple, setVmwideAssociation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lc
protected LoginContext lc
JBossSecurityClient
public JBossSecurityClient()
peformSASLLogin
protected void peformSASLLogin()
- Specified by:
peformSASLLogin
in class org.jboss.security.client.SecurityClient
performJAASLogin
protected void performJAASLogin()
throws LoginException
- Specified by:
performJAASLogin
in class org.jboss.security.client.SecurityClient
- Throws:
LoginException
performSimpleLogin
protected void performSimpleLogin()
- Specified by:
performSimpleLogin
in class org.jboss.security.client.SecurityClient
cleanUp
protected void cleanUp()
- Specified by:
cleanUp
in class org.jboss.security.client.SecurityClient
Copyright © 2009 JBoss Inc.. All Rights Reserved.