[JBoss-user] [Security JAAS/JBoss] - Re: DynamicLoginConfig and UserRolesLoginModule

2006-05-03 Thread [EMAIL PROTECTED]
This constitutes enough cause for the whole Collaboration Server project to 
be shelved. :-)

Rather than a debugger, if you had enabled the trace logging, you should have 
seen the classnotfound error in the logs? 


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3940988#3940988

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3940988


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: DynamicLoginConfig and UserRolesLoginModule

2006-05-03 Thread [EMAIL PROTECTED]
No.  It did not show up in the log.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3941093#3941093

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941093


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: DynamicLoginConfig and UserRolesLoginModule

2006-05-02 Thread [EMAIL PROTECTED]
Enable trace logging and see which users/roles.properties is being picked up 
and from which archive. That is usually the key to the answer.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3940747#3940747

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3940747


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: DynamicLoginConfig and UserRolesLoginModule

2006-05-02 Thread [EMAIL PROTECTED]
And where is the DynamicLoginConfig service descriptor deployed?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3940757#3940757

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3940757


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: DynamicLoginConfig and UserRolesLoginModule

2006-05-02 Thread [EMAIL PROTECTED]
in mail.ear/mail.sar/META-INF/jboss-service.xml

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3940775#3940775

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3940775


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: DynamicLoginConfig and UserRolesLoginModule

2006-05-02 Thread [EMAIL PROTECTED]
Here is what I get if I try and use the login module in the normal way for JBMS:

2006-05-02 16:39:46,797 TRACE 
[org.jboss.security.auth.login.XMLLoginConfigImpl] Begin 
getAppConfigurationEntry(jbms), size=9
  | 2006-05-02 16:39:46,797 TRACE 
[org.jboss.security.auth.login.XMLLoginConfigImpl] End 
getAppConfigurationEntry(jbms), authInfo=AppConfigurationEntry[]:
  | [0]
  | LoginModule Class: org.jboss.security.auth.spi.UserRolesLoginModule
  | ControlFlag: LoginModuleControlFlag: required
  | Options:name=rolesProperties, value=jbms-roles.properties
  | name=usersProperties, value=jbms-users.properties
  | name=unauthenticatedIdentity, value=nobody
  | 
  | 2006-05-02 16:39:46,800 ERROR 
[org.jboss.mail.userrepository.jaas.JaasUserRepository] Login failed for user 
tom
  | 

However if I go to the jmx console and do jbms/tom in java.security.Principal 
getPrincipal() it goes to jmx-console for no obvious reason (it appears to 
ignore the first arguemnt).  Nearly anything else I do from the console does 
that as well.

I CAN get an error if I remove the schema tags from the above module-option 
tags (on a whim) that it can't load the properties files.  However it appears 
that it is just ignoring my arguments.

Any clues?




View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3940818#3940818

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3940818


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: DynamicLoginConfig and UserRolesLoginModule

2006-05-02 Thread [EMAIL PROTECTED]
deep down I get this in the debugger but it is swallowed as a root cause for a 
login exception

unable to find LoginModule class: No ClassLoaders found for: 
org.jboss.security.auth.spi.UserRolesLoginModule


  | 2006-05-03 01:06:44,464 ERROR [STDERR] 
javax.security.auth.login.LoginException: unable to find LoginModule class: No 
ClassLoaders found for: org.jboss.security.auth.spi.UserRolesLoginModule
  | 2006-05-03 01:06:44,465 ERROR [STDERR]  at 
javax.security.auth.login.LoginContext.invoke(LoginContext.java:808)
  | 2006-05-03 01:06:44,465 ERROR [STDERR]  at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
  | 2006-05-03 01:06:44,465 ERROR [STDERR]  at 
javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
  | 2006-05-03 01:06:44,465 ERROR [STDERR]  at 
java.security.AccessController.doPrivileged(Native Method)
  | 2006-05-03 01:06:44,465 ERROR [STDERR]  at 
javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
  | 2006-05-03 01:06:44,466 ERROR [STDERR]  at 
javax.security.auth.login.LoginContext.login(LoginContext.java:579)
  | 2006-05-03 01:06:44,466 ERROR [STDERR]  at 
org.jboss.mail.userrepository.jaas.JaasUserRepository.login(JaasUserRepository.java:111)
  | 2006-05-03 01:06:44,466 ERROR [STDERR]  at 
org.jboss.mail.userrepository.jaas.JaasUserRepository.test(JaasUserRepository.java:94)
  | 2006-05-03 01:06:44,466 ERROR [STDERR]  at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 2006-05-03 01:06:44,466 ERROR [STDERR]  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 2006-05-03 01:06:44,466 ERROR [STDERR]  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 2006-05-03 01:06:44,466 ERROR [STDERR]  at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 2006-05-03 01:06:44,466 ERROR [STDERR]  at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 2006-05-03 01:06:44,466 ERROR [STDERR]  at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 2006-05-03 01:06:44,466 ERROR [STDERR]  at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | 2006-05-03 01:06:44,467 ERROR [STDERR]  at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
  | 2006-05-03 01:06:44,467 ERROR [STDERR]  at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 2006-05-03 01:06:44,467 ERROR [STDERR]  at 
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
  | 2006-05-03 01:06:44,467 ERROR [STDERR]  at $Proxy166.test(Unknown Source)
  | 2006-05-03 01:06:44,467 ERROR [STDERR]  at 
org.jboss.mail.pop3.handlers.CmdPASS.handleRequest(CmdPASS.java:83)
  | 2006-05-03 01:06:44,467 ERROR [STDERR]  at 
org.jboss.mail.pop3.POP3ProtocolInstance.handleRequest(POP3ProtocolInstance.java:211)
  | 2006-05-03 01:06:44,467 ERROR [STDERR]  at 
org.jboss.mail.ConnectionHandler.runSocket(ConnectionHandler.java:205)
  | 2006-05-03 01:06:44,467 ERROR [STDERR]  at 
org.jboss.mail.ConnectionHandler.run(ConnectionHandler.java:97)
  | 2006-05-03 01:06:44,467 ERROR [STDERR]  at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)2006-05-03
 01:06:44,467 ERROR [STDERR]  at java.lang.Thread.run(Thread.java:595)
  | 

Which I find odd.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3940870#3940870

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3940870


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: DynamicLoginConfig and UserRolesLoginModule

2006-05-02 Thread [EMAIL PROTECTED]
wow the problem is that I can't freaking spell.  Works now...sorry for the 
trouble.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3940874#3940874

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3940874


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: DynamicLoginConfig and UserRolesLoginModule

2006-05-02 Thread [EMAIL PROTECTED]
(UserRolesLoginModule vs UsersRolesLoginModule)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3940875#3940875

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3940875


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user