How to get the username (netID)?

Oh Calcutta ohcalcutta at gmail.com
Sat Apr 5 02:42:35 EDT 2008


- If you enable HttpServletRequestWrapper filter, then you can do a 
simple request.getRemoteUser() to get the NetId.
 

tedzo wrote:
> Some progress in my quest to use JA-SIG client 3.1.1 and eventually 
> the SingleSignOutFilter...
> I am trying to get a hold of the username (netId) but have been unable 
> to. It seems that I should be able to get to it using 
> session.getAttribute("_const_cas_assertion_") from my jsp. But that 
> doesn't seem to work.
>
> What am I missing?
>
> Thanks.
>
>
> ----- Original Message ----
> From: tedzo <tedzo2003 at yahoo.com>
> To: Yale CAS mailing list <cas at tp.its.yale.edu>
> Sent: Friday, April 4, 2008 10:48:29 PM
> Subject: Re: Which version of cas to use for SingleSignOut feature?
>
> Ok, I found
> http://www.ja-sig.org/wiki/display/CASC/Configuring+the+JA-SIG+CAS+Client+for+Java+in+the+web.xml
>
> That document describes 6 different filters (AuthenticationFilter, 
> HttpServletRequestWrapper and so on). I am not sure if I need to 
> configure all the filters or can I get away with just the 
> AuthenticationFilter? In the Yale version I configured just the one 
> filter (CASFilter) for authentication.
>
> Any pointers?
>
> Thanks.
>
> ----- Original Message ----
> From: tedzo <tedzo2003 at yahoo.com>
> To: Yale CAS mailing list <cas at tp.its.yale.edu>
> Sent: Friday, April 4, 2008 10:22:55 PM
> Subject: Re: Which version of cas to use for SingleSignOut feature?
>
> That will be a problem :( I guess I will have to move to the newer 
> versions.
>
> Is using JA-SIG Java client similar to using the Yale Client? I was 
> looking for a tutorial of some sort that explains configuring/using 
> the JA-SIG Java Client and didn't find any. This doesn't seem to work 
> http://www.ja-sig.org/products/cas/client/client-java/index.html.
>
> I am seeing references to cas-client.properites etc and I am not sure 
> how to proceed.
> For the Yale Java client, I just added the filter info in web.xml and 
> I was off and running....
>
> Your help is appreciated.
>
> Thanks.
>
> ----- Original Message ----
> From: Adam Rybicki <arybicki at unicon.net>
> To: Yale CAS mailing list <cas at tp.its.yale.edu>
> Sent: Friday, April 4, 2008 4:38:01 PM
> Subject: Re: Which version of cas to use for SingleSignOut feature?
>
> Hi,
>
> The versions you are using do not support SSOut.  You need CAS Server 
> 3.1.1 or 3.1.2 if you must use a "release" version or 3.2.1-RC1 if you 
> are OK with using a "release candidate" version.
>
> Yale CAS client does not support SSOut, but perhaps someone will 
> contribute it.  The JA-SIG CAS Client version 3.1.1 supports SSOut, 
> and that's the latest version available.
>
> The earliest versions that should correctly support SSOut are 3.1.1 
> for CAS Server and 3.1 for JA-SIG CAS Client.
>
> Adam
>
> tedzo wrote:
>> Hello all,
>> I am trying to find out which versions of cas server and cas java 
>> client I need to use in order to be able to use the SingleSignOut 
>> feature. I currently have cas server 3.0.6 and Yale client 2.1.1.
>>
>> - Does it matter which version of client I use?
>> - What are the earliest versions that support the said feature?
>>
>> Thanks.
>>
>> ------------------------------------------------------------------------
>> You rock. That's why Blockbuster's offering you one month of 
>> Blockbuster Total Access 
>> <http://us.rd.yahoo.com/evt=47523/*http://tc.deals.yahoo.com/tc/blockbuster/text5.com>, 
>> No Cost.
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Yale CAS mailing list
>> cas at tp.its.yale.edu
>> http://tp.its.yale.edu/mailman/listinfo/cas
>>   
>
>
> ------------------------------------------------------------------------
> You rock. That's why Blockbuster's offering you one month of 
> Blockbuster Total Access 
> <http://us.rd.yahoo.com/evt=47523/*http://tc.deals.yahoo.com/tc/blockbuster/text5.com>, 
> No Cost.
>
>
> ------------------------------------------------------------------------
> You rock. That's why Blockbuster's offering you one month of 
> Blockbuster Total Access 
> <http://us.rd.yahoo.com/evt=47523/*http://tc.deals.yahoo.com/tc/blockbuster/text5.com>, 
> No Cost.
>
>
> ------------------------------------------------------------------------
> You rock. That's why Blockbuster's offering you one month of 
> Blockbuster Total Access 
> <http://us.rd.yahoo.com/evt=47523/*http://tc.deals.yahoo.com/tc/blockbuster/text5.com>, 
> No Cost.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20080405/34f668b8/attachment.html 


More information about the cas mailing list