Authorization Failure when testing Services Management

qingfeng zhang qingfeng.zhang at gmail.com
Wed Dec 3 23:01:48 EST 2008


Hi,

I'm using the default configuration to test the Services Management
function.

The configurations are as follows:
1. 'serviceRegistryDao' in deployerConfigContext.xml , keep it as default.

<bean
		id="serviceRegistryDao"
		class="org.jasig.cas.services.InMemoryServiceRegistryDaoImpl" />

2. 'userDetailsService' in deployerConfigContext.xml, changed to:

<bean id="userDetailsService"
class="org.acegisecurity.userdetails.memory.InMemoryDaoImpl">
	<property name="userMap">
		<value>
	      username=admin,ROLE_ADMIN
	    </value>
	</property>
</bean>


When I access the https://localhost:8443/cas/services/ and login use
'admin', I got the following error:
'*You are not authorized to use this application for the following reason:
Could not find user: admin. * '


Thanks,
Qingfeng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20081204/3d490e50/attachment.html 


More information about the cas mailing list