Hi,
I have a jboss/jaas related issue:

When logging in via cas the user is redirected to /casfailed.jsp allthough
the user is authenticated (when navigating back to the application
everything is ok) and the only error in the log is jaas related:

2008-03-25 19:56:27,453 INFO  [STDOUT] 2008-03-25 19:56:27,453 INFO [
org.jasig.cas.authentication.AuthenticationManagerImpl] -
<AuthenticationHandler:
org.jboss.portal.identity.sso.cas.CASAuthenticationHandler successfully
authenticated the user which provided the following credentials: admin>
2008-03-25 19:56:27,468 INFO  [STDOUT] 2008-03-25 19:56:27,468 INFO [
org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted service ticket
[ST-1-eCi7HX5h0CSeKIz6bU16-pentaho] for service [
https://pentaho/contacts-cas/j_acegi_cas_security_check] for user [admin]>
2008-03-25 19:56:27,487 DEBUG [
org.jboss.portal.identity.sso.cas.CASAuthenticationValve] Checking if
requested uri '/contacts-cas/j_acegi_cas_security_check' matches secured url
patterns: []
2008-03-25 19:56:27,687 DEBUG [
org.jboss.security.plugins.JaasSecurityManager.other] CallbackHandler:
[EMAIL PROTECTED]
2008-03-25 19:56:27,687 DEBUG [
org.jboss.security.plugins.JaasSecurityManagerService] Created
[EMAIL PROTECTED]
2008-03-25 19:56:27,687 DEBUG [
org.jboss.security.plugins.JaasSecurityManager.other] CachePolicy set to:
[EMAIL PROTECTED]
2008-03-25 19:56:27,687 DEBUG [
org.jboss.security.plugins.JaasSecurityManagerService] setCachePolicy,
[EMAIL PROTECTED]
2008-03-25 19:56:27,687 DEBUG [
org.jboss.security.plugins.JaasSecurityManagerService] Added other,
[EMAIL PROTECTED] to map
2008-03-25 19:56:27,695 ERROR [
org.jboss.security.auth.spi.UsersRolesLoginModule] Failed to load
users/passwords/role files
java.io.IOException: No properties file: users.properties or defaults:
defaultUsers.properties found
        at org.jboss.security.auth.spi.Util.loadProperties(Util.java:315)
        at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(
UsersRolesLoginModule.java:186)
        at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(
UsersRolesLoginModule.java:200)
        at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(
UsersRolesLoginModule.java:127)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at javax.security.auth.login.LoginContext.invoke(LoginContext.java
:756)
        at javax.security.auth.login.LoginContext.access$000(
LoginContext.java:186)
        at javax.security.auth.login.LoginContext$4.run(LoginContext.java
:683)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.login.LoginContext.invokePriv(
LoginContext.java:680)
        at javax.security.auth.login.LoginContext.login(LoginContext.java
:579)
        at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(
JaasSecurityManager.java:603)
        at org.jboss.security.plugins.JaasSecurityManager.authenticate(
JaasSecurityManager.java:537)
        at org.jboss.security.plugins.JaasSecurityManager.isValid(
JaasSecurityManager.java:344)
        at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(
JBossSecurityMgrRealm.java:491)
        at org.jboss.portal.identity.sso.cas.CASAuthenticationValve.invoke(
CASAuthenticationValve.java:348)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(
JaccContextValve.java:84)
        at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:102)
        at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(
CachedConnectionValve.java:157)
        at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:262)
        at org.apache.coyote.http11.Http11Processor.process(
Http11Processor.java:844)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
JIoEndpoint.java:446)
        at java.lang.Thread.run(Thread.java:619)
2008-03-25 19:56:27,799 DEBUG [
org.jboss.portal.identity.sso.cas.CASAuthenticationValve] Checking if
requested uri '/contacts-cas/casfailed.jsp' matches secured url patterns: []
2008-03-25 19:56:27,818 DEBUG [
org.jboss.portal.identity.sso.cas.CASAuthenticationValve] Checking if
requested uri '/contacts-cas/casfailed.jsp' matches secured url patterns: []

I have no clue why jaas is even called and trying to use the other
application policy.
Can someone explain this to me please ?

Thank you,
Martin
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to