Hi,
I'm using CAS 4.0.4 along with the cas-management webapp. Both have been
installed successfully and tested with the
InMemoryServiceRegistryDaoImpl serviceRegistryDao. However, going a bit
further, I followed the JpaServiceRegistryDaoImpl section on
http://jasig.github.io/cas/4.0.x/installation/Service-Management.html,
as I wanted to make data persistent with a MySQL database.
This works, the problem is that once I've changed the
serviceRegistryDao, the user I had defined in my user-details.properties
file stopped working, i.e., when I try to login the cas-management
webapp, I'm redirected to CAS which successfully grants a ticket for my
login, but after that I get this message in the cas-management part:
/UsernameNotFoundException::S98eh3zZMchi5x4uB+nYc03JH0E=/
I remark that with InMemoryServiceRegistryDaoImpl it worked. My
managementConfigContext.xml has this code:
<sec:user-service id="userDetailsService"
properties="${user.details.file.location:classpath:user-details.properties}"
/>
However, the comment above makes me think that this will only work with
InMemoryServiceRegistryDaoImpl:
/This bean defines the security roles for the Services Management
application. Simple deployments can use the in-memory version. More
robust deployments will want to use another option, such as the Jdbc
version./
So my question is: How should I grant admin access using the MySQL
backend for data storage?
Thanks.
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user