Hello

I am new to CAS.

I have done the CAS 4.0 setup and I am able to integrate with another web 
application if I used the default cas-server-webapp-4.0.0.war

But when I built it using the maven overlay only CAS works fine standalone 
with URL http://localhost:8080/cas/login.

But once I integrate with my web app,  it gives this error ...*"The 
application you attempted to authenticate to is not authorized to use CAS."*

I have registered two services like this, in deployerConfigContext.xml
I have also attached the full file.
Not sure what mistake I am making. 

<bean class="org.jasig.cas.services.RegexRegisteredService">
            <property name="id" value="1" />
            <property name="name" value="cassimple" />
            <property name="description" value="cassimple application 1" />
            <property name="serviceId" 
value="^(http?|https?|imaps?)://localhost:8080/cassimple/*" />
            <property name="evaluationOrder" value="10000001" />
        </bean>
        
<bean class="org.jasig.cas.services.RegexRegisteredService">
            <property name="id" value="2" />
            <property name="name" value="casldap" />
            <property name="description" value="casldap application 2" />
            <property name="serviceId" 
value="^(http?|https?|imaps?)://localhost:8080/casldap/*" />
            <property name="evaluationOrder" value="10000002" />
        </bean>


Thanks
Jay



-- 
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

Attachment: deployerConfigContext.xml
Description: XML document

Reply via email to