org.apache.jetspeed.security.impl.ext
Class JBossLoginModule

java.lang.Object
  extended by org.apache.jetspeed.security.impl.DefaultLoginModule
      extended by org.apache.jetspeed.security.impl.ext.JBossLoginModule
All Implemented Interfaces:
LoginModule

public class JBossLoginModule
extends DefaultLoginModule

Configures Subject principals for JBoss JAAS implementation

Author:
Ate Douma

Nested Class Summary
private static class JBossLoginModule.JBossGroup
           
 
Field Summary
 
Fields inherited from class org.apache.jetspeed.security.impl.DefaultLoginModule
callbackHandler, commitSuccess, debug, options, portalUserRole, sharedState, subject, success, ums, username
 
Constructor Summary
  JBossLoginModule()
          Create a new JBoss login module
protected JBossLoginModule(org.apache.jetspeed.security.UserManager userManager)
          Create a new JBoss login module that uses the given user manager.
 
Method Summary
protected  void commitPrincipals(Subject subject, org.apache.jetspeed.security.User user)
          Default setup of the logged on Subject Principals for Tomcat
 
Methods inherited from class org.apache.jetspeed.security.impl.DefaultLoginModule
abort, commit, getUserPrincipal, getUserRoles, initialize, login, logout, refreshProxy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossLoginModule

public JBossLoginModule()
Create a new JBoss login module


JBossLoginModule

protected JBossLoginModule(org.apache.jetspeed.security.UserManager userManager)
Create a new JBoss login module that uses the given user manager.

Parameters:
userManager -
See Also:
DefaultLoginModule.DefaultLoginModule(UserManager)
Method Detail

commitPrincipals

protected void commitPrincipals(Subject subject,
                                org.apache.jetspeed.security.User user)
Description copied from class: DefaultLoginModule
Default setup of the logged on Subject Principals for Tomcat

Overrides:
commitPrincipals in class DefaultLoginModule


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.