org.jboss.portal.identity.auth
Class DBIdentityLoginModule

java.lang.Object
  extended by DatabaseServerLoginModule
      extended by org.jboss.portal.identity.auth.DBIdentityLoginModule

public class DBIdentityLoginModule
extends DatabaseServerLoginModule

Version:
$Revision: 1.1 $
Author:
Boleslaw Dawidowicz

Constructor Summary
DBIdentityLoginModule()
           
 
Method Summary
protected  java.security.Principal createIdentity(java.lang.String username)
          Subclass to use the PortalPrincipal to make the username easier to retrieve by the portal.
protected  java.security.acl.Group[] getRoleSets()
           
 void initialize(javax.security.auth.Subject subject, javax.security.auth.callback.CallbackHandler callbackHandler, java.util.Map sharedState, java.util.Map options)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBIdentityLoginModule

public DBIdentityLoginModule()
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

createIdentity

protected java.security.Principal createIdentity(java.lang.String username)
                                          throws java.lang.Exception
Subclass to use the PortalPrincipal to make the username easier to retrieve by the portal.

Throws:
java.lang.Exception