CAS client 3.1.3 setup in web.xml

View: New views
6 Messages — Rating Filter:   Alert me  

CAS client 3.1.3 setup in web.xml

by luy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 From
http://www.ja-sig.org/products/cas/client/javaclient/index.html

There is setup for CAS client 2.0.1, however when I download CAS client
3.1.3, this CAS filter setup does not see work anymore.

Could someone point me out
1. where is the web.xml setup for CAS client 3.1.3
2. CAS Server 3.x setup

Thanks a lot!




<web-app>
   ...
   <filter>
  <filter-name>CAS Filter</filter-name>
  <filter-class>edu.yale.its.tp.cas.client.filter.CASFilter</filter-class>
     <init-param>
        <param-name>edu.yale.its.tp.cas.client.filter.loginUrl</param-name>
        <param-value>https://secure.its.yale.edu/cas/login</param-value>
     </init-param>
     <init-param>
 
<param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name>
 
<param-value>https://secure.its.yale.edu/cas/serviceValidate</param-value>
     </init-param>
     <init-param>
 
<param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name>
        <param-value>your server name and port (e.g.,
www.yale.edu:8080)</param-value>
     </init-param>
  </filter>

  <filter-mapping>
     <filter-name>CAS Filter</filter-name>
     <url-pattern>/requires-cas-authetication/*</url-pattern>
  </filter-mapping>
   ...
  </web-app>
_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas

Re: CAS client 3.1.3 setup in web.xml

by scott_battaglia :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://www.ja-sig.org/wiki/display/CASC/CAS+Client+for+Java+3.1

-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia

On Wed, Jul 2, 2008 at 4:11 PM, Emi Lu <emilu@...> wrote:
 From
http://www.ja-sig.org/products/cas/client/javaclient/index.html

There is setup for CAS client 2.0.1, however when I download CAS client
3.1.3, this CAS filter setup does not see work anymore.

Could someone point me out
1. where is the web.xml setup for CAS client 3.1.3
2. CAS Server 3.x setup

Thanks a lot!




<web-app>
  ...
  <filter>
 <filter-name>CAS Filter</filter-name>
 <filter-class>edu.yale.its.tp.cas.client.filter.CASFilter</filter-class>
    <init-param>
       <param-name>edu.yale.its.tp.cas.client.filter.loginUrl</param-name>
       <param-value>https://secure.its.yale.edu/cas/login</param-value>
    </init-param>
    <init-param>

<param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name>

<param-value>https://secure.its.yale.edu/cas/serviceValidate</param-value>
    </init-param>
    <init-param>

<param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name>
       <param-value>your server name and port (e.g.,
www.yale.edu:8080)</param-value>
    </init-param>
 </filter>

 <filter-mapping>
    <filter-name>CAS Filter</filter-name>
    <url-pattern>/requires-cas-authetication/*</url-pattern>
 </filter-mapping>
  ...
 </web-app>
_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas


_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas

Re: CAS client 3.1.3 setup in web.xml

by luy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks a lot! I successfully made the following steps:

. I installed CAS Server 3.2.1
. installed CAS client 2.0.1
. Updated client webapp's web.xml successfully
For now, I did not make any changes at CAS Server side.





Now I begin to work at the Server login checking section.
Could you please help me:
======================================================================
1. Where is the login java class that
    is used for login username/pwd checking
    (I did not find any java class?)


2. How to use my own login checking algorithm java class?
    Is there any special class/interface needs to be extends or implement


3. What should be added/updated in CAS Server web.xml
    (I need to add my own login checking algorithm)?

Thank you again!









Scott Battaglia wrote:

> http://www.ja-sig.org/wiki/display/CASC/CAS+Client+for+Java+3.1
>
> -Scott Battaglia
> PGP Public Key Id: 0x383733AA
> LinkedIn: http://www.linkedin.com/in/scottbattaglia
>
> On Wed, Jul 2, 2008 at 4:11 PM, Emi Lu <emilu@...> wrote:
>
>>  From
>> http://www.ja-sig.org/products/cas/client/javaclient/index.html
>>
>> There is setup for CAS client 2.0.1, however when I download CAS client
>> 3.1.3, this CAS filter setup does not see work anymore.
>>
>> Could someone point me out
>> 1. where is the web.xml setup for CAS client 3.1.3
>> 2. CAS Server 3.x setup
>>
_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas

CAS Server3.2.1 (web.xml + how to add/update login checking)

by luy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> . I installed CAS Server 3.2.1
> . installed CAS client 3.1.3  (an typo in my previous mail, it is 3.1.3 not 2.x)

I'd like to know how to update web.xml and adding CAS server side java
classes to:
==============================================
[1] Login "kerberos username/pwd" checking

[2] After user passes [1]
    Get CAS SSO ticket

Thanks a lot!
_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas

Re: CAS Server3.2.1 (web.xml + how to add/update login checking)

by scott_battaglia :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The CAS project provides documentation here:

http://www.ja-sig.org/wiki/display/CASUM/Home

-Scott

-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia

On Thu, Jul 3, 2008 at 10:41 AM, Emi Lu <emilu@...> wrote:

> . I installed CAS Server 3.2.1
> . installed CAS client 3.1.3  (an typo in my previous mail, it is 3.1.3 not 2.x)

I'd like to know how to update web.xml and adding CAS server side java
classes to:
==============================================
[1] Login "kerberos username/pwd" checking

[2] After user passes [1]
   Get CAS SSO ticket

Thanks a lot!
_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas


_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas

Re: CAS Server3.2.1 (web.xml + how to add/update login checking)

by Michael Ströder :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Emi Lu wrote:
> [1] Login "kerberos username/pwd" checking
>
> [2] After user passes [1]
>     Get CAS SSO ticket

You probably want to have a look at

http://www.ja-sig.org/wiki/display/CASUM/SPNEGO

Ciao, Michael.
_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas