com.opensymphony.user.adapter.jboss
Class OSUserLoginModule

java.lang.Object
  extended byorg.jboss.security.auth.spi.AbstractServerLoginModule
      extended byorg.jboss.security.auth.spi.UsernamePasswordLoginModule
          extended bycom.opensymphony.user.adapter.jboss.OSUserLoginModule
All Implemented Interfaces:
javax.security.auth.spi.LoginModule

public class OSUserLoginModule
extends org.jboss.security.auth.spi.UsernamePasswordLoginModule

DOCUMENT ME!

Version:
$Revision: 1.3 $
Author:
$author$

Field Summary
 
Fields inherited from class org.jboss.security.auth.spi.AbstractServerLoginModule
callbackHandler, options, sharedState, subject, useFirstPass
 
Constructor Summary
OSUserLoginModule()
           
 
Method Summary
protected  java.security.acl.Group[] getRoleSets()
           
protected  java.lang.String getUsersPassword()
           
 void initialize(javax.security.auth.Subject subject, javax.security.auth.callback.CallbackHandler callbackHandler, java.util.Map sharedState, java.util.Map options)
           
protected  boolean validatePassword(java.lang.String password, java.lang.String empty)
           
 
Methods inherited from class org.jboss.security.auth.spi.UsernamePasswordLoginModule
getCredentials, getIdentity, getUnauthenticatedIdentity, getUsername, getUsernameAndPassword, login
 
Methods inherited from class org.jboss.security.auth.spi.AbstractServerLoginModule
abort, commit, createGroup, getUseFirstPass, logout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSUserLoginModule

public OSUserLoginModule()
Method Detail

initialize

public void initialize(javax.security.auth.Subject subject,
                       javax.security.auth.callback.CallbackHandler callbackHandler,
                       java.util.Map sharedState,
                       java.util.Map options)

getRoleSets

protected java.security.acl.Group[] getRoleSets()
                                         throws javax.security.auth.login.LoginException
Throws:
javax.security.auth.login.LoginException

getUsersPassword

protected java.lang.String getUsersPassword()
                                     throws javax.security.auth.login.LoginException
Throws:
javax.security.auth.login.LoginException

validatePassword

protected boolean validatePassword(java.lang.String password,
                                   java.lang.String empty)

See www.opensymphony.com for more information.