1. I'm playing with security tutorial and found some problems:
1.1 Login didn't work for the next users: filch, pince, lmalfoy - users
'filch' and 'pince' don't have records in password.xml file, user
'lmalfoy' probably has password other than 'myself'
1.2 To make 'security-basic' application work I've had to change some
urls
Files:
buttonbar.jsp:
<a href="<c:url value='/home.jsp'/>">your homepage</a> TO <a
href="<c:url value='/index.jsp'/>">your homepage</a>
index.jsp:
Links to different areas:
<a href="<c:url value='students/'/>"> TO <a
href="<c:url value='students/index.jsp'/>">
<a href="<c:url value='professors/'/>"> TO <a
href="<c:url value='professors/index.jsp'/>">
<a href="<c:url value='staff/'/>"> TO <a
href="<c:url value='staff/index.jsp'/>">
home.jsp:
if (request.isUserInRole("professor")) {
home_url = "professors/"; TO
home_url = "professors/index.jsp";
} else if (request.isUserInRole("staff")) {
home_url = "staff/";
TO home_url = "staff/index.jsp";
} else if (request.isUserInRole("student")) {
home_url = "students/"; TO
home_url = "students/index.jsp";
}
professors/index.jsp:
<a href="<c:url value='/students/'/>"> TO <a
href="<c:url value='/students/index.jsp'/>">
<a href="<c:url value='/staff/'/>"> TO <a href="<c:url
value='/staff/index.jsp'/>">
2. Resin 4.0.8 and CAS server (http://www.jasig.org/cas)
I'm successfully running CAS (3.4.2 - latest build) service in Jetty
(6.1.24) and Tomcat (7.0.0), but when I try to run in Resin 4.0.8 - I've
got an exception:
org.jasig.cas.services.RegisteredServiceImpl.allowedAttributes:
interface java.util.List is an invalid @Basic type for allowedAttributes.
RegisteredServiceImpl class is an Entity (@Entity), but doesn't have any
@Basic annotations and my Resin container doesn't have any JPA/Hibernate
web based applications.
Any suggestions on building SSO (Single Sign On) on Resin using open
source projects?
Thanks,
Victor
_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest