Hi,

I suspect the TARGET parameter comes from the cas-client-support-saml
library and you don't need it as your CAS server (v4.2) providers a /p3
endpoint so you can get user attributes without using SAML ticket
validation.

The pac4j-cas dependency is useless if you don't have a pac4j
implementation. So either you use the cas-client-core library and you will
only support CAS protocol or you want to support more (Facebook, SAML...)
and you need the appropriate pac4j library like j2e-pac4j and the pac4j-cas
module (which will pull the cas-client-core also).

Thanks.
Best regards,
Jérôme


2016-07-28 21:20 GMT+02:00 Eric PAPET <[email protected]>:

> Thank's Jêrome,
>
> In my client application i use :
>
>  <dependencies>
>     <dependency>
>       <groupId>org.jasig.cas.client</groupId>
>       <artifactId>cas-client-core</artifactId>
>       <version>3.4.1</version>
>       <scope>compile</scope>
>     </dependency>
>     <dependency>
>       <groupId>org.jasig.cas.client</groupId>
>       <artifactId>cas-client-support-saml</artifactId>
>       <version>3.4.1</version>
>       <scope>compile</scope>
>     </dependency>
> <dependency>
>       <groupId>org.pac4j</groupId>
>       <artifactId>pac4j-cas</artifactId>
>       <version>1.8.2</version>
>       <scope>test</scope>
>     </dependency>
>
> I try tomorrow with service parameter.
>
> I'm another question :
> If my CAS2 is in secure network and only CAS1 (CAS server Client) can
> access it, not the user web browser.  in this case the delegation is not
> possible, it's right ?
> For this design a reverse proxy it's a better solution i think.
>
> Thank's for your Time.
>
> Best regards
> Eric
>
> Le jeudi 28 juillet 2016 15:11:01 UTC+2, Eric PAPET a écrit :
>>
>> Hi,
>>
>> I use the pac4j delegate sample cas-pac4j-oauth-demo (branch 4.2.X).
>> In my CAS application  : casServerLoginUrl = http://localhost/cas/login
>> (is CAS SERVER CLIENT role)
>> When i try to access in secure page in my CAS application the cas/login
>> page is loaded.
>> When i click in link "cas" in this page, i redirected to cas2/login page.
>> The authentification with credential "jleleu;jleleu" is ok and i
>> redirected to cas/login with message success.
>> Why i not redirected In my CAS application?
>>
>> Is it possible to make transparent the CAS server CLIENT ?
>>
>> If my CAS2 is in secure network and only CAS1 (CAS server Client) can
>> access it.  in this case the delegation is not possible, it's right ?
>>
>> Thank for help.
>>
>> Best regards
>> Eric
>>
> --
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/
> .
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/137eee90-2696-4b63-be52-bcdd65183a6b%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/137eee90-2696-4b63-be52-bcdd65183a6b%40apereo.org?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAP279Lw9JM%2BP6%2B8ENMvVTc0XU_R4kHuESiqCYsPN2rbevMK1Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to