Well, if I remove that line, all works well... The JAAS authentication in Tomcat takes
place, I get userid/password login, etc.
All the normal workings... What is the side affect by removing that line?
Chris
On Mar 5, 2010, at 11:31 PM, Mike Brock wrote:
No. But it looks like you have a misconfiguration in Tomcat, not in
Errai. This is a purely appserver-related exception.
On 2010-03-05, at 6:07 PM, Christopher Gokey wrote:
> Sorry, I meant to paste the error:
>
> Mar 5, 2010 6:05:28 PM org.apache.catalina.realm.JAASRealm authenticate
> SEVERE: Cannot find message associated with key jaasRealm.unexpectedError
> javax.security.auth.login.LoginException: No LoginModules configured for
AccessManager
> at javax.security.auth.login.LoginContext.init(LoginContext.java:256)
> at javax.security.auth.login.LoginContext.<init>(LoginContext.java:403)
> at org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:383)
> at org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:323)
> at
org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthenticator.java:181)
> at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
> at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
> at java.lang.Thread.run(Thread.java:637)
>
> I did figure out if I comment out this line:
> #errai.authentication_adapter=org.jboss.errai.bus.server.security.auth.JAASAdapter
>
> It works... And the normal tomcat authentication is used to access the webapp. Is
this what I should have done?
>
> Thanks,
> Chris
>
>
> On Mar 5, 2010, at 5:22 PM, Mike Brock wrote:
>
>> Are you getting an exception?
>>
>> On 2010-03-05, at 4:16 PM, Christopher Gokey wrote:
>>
>>> I'm curious if someone can point me in the right direction. It looks
like integrating errai-1.0.0 has
>>> messed up the authentification with my GWT client and once I add back in
BASIC authentication to the web.xml, I'm not able
>>> to get things to work.... I've done a bunch of tests and it appears that
way atleast.
>>>
>>> We are using JAAS to authenticate users and have a have standard jaas.config
on tomcat/conf/jaas.config that
>>> says:
>>> AccessManager {gov.dmcg.md.common.security.jaas.DbLoginModule required;};
>>> (that class implements javax.security.auth.spi.LoginModule)
>>>
>>> Setup the context.xml and all the standard things (server resource, realm
info, etc.), yet after I integrating this, I'm not able to access things...
>>>
>>> I'm noticed this entry in the ErraiServices.properties file:
>>>
errai.authentication_adapter=org.jboss.errai.bus.server.security.auth.JAASAdapter
>>>
>>>
>>> Do I need to implement something special for the bus? Just wondering if that
might be my issue or if anyone has any clues based on the little bit of info that I
specified :)
>>>
>>> Thanks,
>>> Chris
>>>
>>>
>>> _______________________________________________
>>> errai-users mailing list
>>> errai-users(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/errai-users
>>
>