User: starksm
Date: 01/07/29 11:20:20
Modified: src/main/org/jboss/security/auth/spi
AbstractServerLoginModule.java
Log:
Merge changes from 2.4
Revision Changes Path
1.2 +10 -5
jbosssx/src/main/org/jboss/security/auth/spi/AbstractServerLoginModule.java
Index: AbstractServerLoginModule.java
===================================================================
RCS file:
/cvsroot/jboss/jbosssx/src/main/org/jboss/security/auth/spi/AbstractServerLoginModule.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AbstractServerLoginModule.java 2001/04/11 02:04:21 1.1
+++ AbstractServerLoginModule.java 2001/07/29 18:20:20 1.2
@@ -27,7 +27,7 @@
/** This class implements the common functionality required for a JAAS
server side LoginModule and implements the JBossSX standard Subject usage
pattern of storing identities and roles. Subclass this module to create your
-own custom LoginModule and override the getRoles() and getIdentity()
+own custom LoginModule and override the login(), getRoleSets() and getIdentity()
methods.
You may also wish to override
@@ -42,7 +42,7 @@
@author <a href="[EMAIL PROTECTED]">Edward Kenworthy</a>, 12th Dec
2000
@author [EMAIL PROTECTED]
-@version $Revision: 1.1 $
+@version $Revision: 1.2 $
*/
public abstract class AbstractServerLoginModule implements LoginModule
{
@@ -56,13 +56,18 @@
//--- Begin LoginModule interface methods
/** Initialize the login module. This stores the subject, callbackHandler
- and sharedState and options for the login session.
+ and sharedState and options for the login session. Subclasses should
override
+ if they need to process their own options. A call to super.initialize(...)
+ must be made in the case of an override.
+ @param subject, the Subject to update after a successful login.
+ @param callbackHandler, the CallbackHandler that will be used to obtain the
+ the user identity and credentials.
+ @param sharedState, a Map shared between all configured login module instances
@param options,
- @option
@option password-stacking: if true, the login identity will be taken from
the
javax.security.auth.login.name value of the sharedState map, and
the proof of identity from the javax.security.auth.login.password
- value sharedState map.
+ value of the sharedState map.
*/
public void initialize(Subject subject, CallbackHandler callbackHandler, Map
sharedState, Map options)
{
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development