Re: [cas-dev] Send Custom Attribute to Java Cas client

2012-01-19 Thread Andrew Petro
Hi Rafael, Interesting. The AuthenticationMethod is set in the SAM1 success response view: https://github.com/Jasig/cas/blob/v3.4.11/cas-server-core/src/main/java/org/jasig/cas/web/view/Saml10SuccessResponseView.java final String authenticationMethod = (String) authentication.getAttributes

Re:[cas-dev] Send Custom Attribute to Java Cas client

2012-01-19 Thread Rafa
Hi, I reformulate the question, I'd like to know the authenticated method used to log in CAS. I've configured a cas client that uses SAML. I've found that sample code to get the information, Assertion assertion = (Assertion) request.getSession().getAttribute("_const_cas_assertion_"); where

Re: [cas-dev] Send Custom Attribute to Java Cas client

2012-01-17 Thread Marvin Addison
> Looking at these issue: > https://issues.jasig.org/browse/CAS-655 Strongly recommend against that approach. > How can I achieve that with the Saml11TicketValidation Example if I update > the Cas client? I think https://wiki.jasig.org/display/CASC/Saml11TicketValidationFilter+Example spells it

Re: [cas-dev] Send Custom Attribute to Java Cas client

2012-01-17 Thread Marvin Addison
> I've read the documentation about SAML configuration but It's not clear for > me. > https://wiki.jasig.org/display/CASUM/SAML+1.1 > https://wiki.jasig.org/display/CASC/Saml11TicketValidationFilter+Example This is the method I'd recommend. We use it for indicating whether the user authenticated

[cas-dev] Send Custom Attribute to Java Cas client

2012-01-17 Thread Rafa
Hello, We've configured CAS 3.4.3.1 for dual authentication username-password/x509 Certificate. Now I'm wondering which is the best way for CAS to inform the client aplication what method has the user used to log in. I'm using casclient-2.0.11 with a custom cas filter which validates like: S