[jboss-user] [Security & JAAS/JBoss] - Re: SecurityAssociation and ClientLoginModule authentication

anil.saldhana@jboss.com do-not-reply at jboss.com
Sun Nov 9 11:27:37 EST 2008


  | SecurityClient client = SecurityClientFactory.getSecurityClient();
  | client.setSimple("anil", "mypass");
  | 
  | or
  | 
  | client.setJaas("other", mycallbackhandler);
  | 
  | client.login();
  | 
  | 

http://anonsvn.jboss.org/repos/jbossas/projects/security/security-spi/tags/2.0.2.GA/spi/src/main/org/jboss/security/client/

The above is a tested/suggested approach.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187966#4187966

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187966



More information about the jboss-user mailing list