Can't find the source for org.jboss.security.plugins.samples.JaasServerLoginModuleIts 
in the jbosssx cvs module.

----- Original Message -----
From: Ernest Chen
To: 'JBoss-User'
Sent: Wednesday, March 14, 2001 2:38 PM
Subject: [jBoss-User] Can't find the source for 
org.jboss.security.plugins.samples.Jaas ServerLoginModule


In the auth.conf
// The default server login module
other {
org.jboss.security.plugins.samples.JaasServerLoginModule required;
}
works fine with jBoss-2.1
I checked out the source from cvs (jboss/contrib/jbosstest) but were unable to find 
JaasServerLoginModule.java anywhere.  If someone
created this sample JaasServerLoginModule, I assume the source code should be there 
too?  Any idea?
Thanks!
-----Original Message-----
From: Scott M Stark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 1:36 PM
To: JBoss-User
Subject: Re: [jBoss-User] Custom JaasServerLoginModule Exception


Custom JaasServerLoginModule ExceptionA LoginModule has to implement the 
javax.security.auth.spi.LoginModule interface.
See the developers guide on javasoft for more info:
http://java.sun.com/security/jaas/doc/module.html
----- Original Message -----
From: Ernest Chen
To: 'JBoss-User'
Sent: Wednesday, March 14, 2001 7:28 AM
Subject: [jBoss-User] Custom JaasServerLoginModule Exception


Hola,
I'm still having trouble getting my own JaasServerLoginModule working.  Can someone 
shed some lights.  Thanks!


My class definition:
-----------------------
package com.starmedia.helix;
public class JaasServerLoginModule implements
                EJBSecurityManager, RealmMapping
What's in my auth.conf
-------------------------
other {
    org.jboss.security.plugins.ProxyLoginModule required
    moduleName="com.starmedia.helix.JaasServerLoginModule";
}
Server Exception I'm getting when my client tries to connect:
--------------------------------------------------------------
[LoginBrokerBean] create()
[LoginBrokerBean] ProxyLoginModule failed to load: 
com.starmedia.helix.JaasServerLoginModule
[LoginBrokerBean] java.lang.ClassCastException: 
com.starmedia.helix.JaasServerLoginModule
[LoginBrokerBean]       at 
org.jboss.security.plugins.ProxyLoginModule.initialize(ProxyLoginModule.java:68)
[LoginBrokerBean]       at java.lang.reflect.Method.invoke(Native Method)
[LoginBrokerBean]       at 
javax.security.auth.login.LoginContext.invoke(LoginContext.java:582)
[LoginBrokerBean]       at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:125)
[LoginBrokerBean]       at 
javax.security.auth.login.LoginContext$3.run(LoginContext.java:531)
[LoginBrokerBean]       at java.security.AccessController.doPrivileged(Native Method)
[LoginBrokerBean]       at 
javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:528)
[LoginBrokerBean]       at 
javax.security.auth.login.LoginContext.login(LoginContext.java:449)
[LoginBrokerBean]       at org.jboss.security.plugins.JaasSecurityManager.defa



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to