Hi Les,
I don't think it is getting as far as my code, could you give me an
indication where in the Shiro code I should try to put a breakpoint and see
what is happening.
This is my filter configuration:
<filter>
<filter-name>ShiroFilter</filter-name>
<filter-class>org.apache.shiro.web.servlet.IniShiroFilter</filter-class>
<init-param>
<param-name>config</param-name>
<param-value>
[main]
# For test can use dummy matcher
myRealmCredentialsMatcher =
org.apache.shiro.authc.credential.SimpleCredentialsMatcher
# now define the realm, and specify that it use
the above credentials
matcher:
myRealm =
com.siemens.ecar.ch.ocweb.security.EcarSecurityRealm
myRealm.credentialsMatcher =
$myRealmCredentialsMatcher
[filters]
authc.loginUrl = /login.jspx
roles.unauthorizedUrl = /unauthorized.jsp
#only let authenticated users with the appropriate role
#view the web pages in the secure and admin areas
[urls]
/secure/** = authc, roles[user]
/admin/** = authc, roles[admin]
/** = authc
</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>ShiroFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
--
View this message in context:
http://shiro-user.582556.n2.nabble.com/Using-Shiro-with-Icefaces-tp5600653p5602091.html
Sent from the Shiro User mailing list archive at Nabble.com.