Hi Andrew,

Thanks for replying.
I already tried request.getRemoteUser() method but it gives 'null' in all
the cases. :(

Ashima



On Wed, Jul 15, 2009 at 5:15 AM, Andrew Feller <[email protected]> wrote:

> Ashima,
>
> I don't know if this will work right off the bat, but why not use the
> request.getRemoteUser() method?  You are telling the JSP "I want the
> parameter called 'username' that was previously submitted"  Of course it
> would only be there after the login form was submitted.
>
> I don't know if CAS puts your username in the remote user property after
> authentication or not, but it is worth a quick try.
>
> A-
>
>
> On 7/14/09 5:57 PM, "Ashima" <[email protected]> wrote:
>
> > The current message on page casGenericSuccess.jsp says:-
> >
> > 'You have successfully logged into the Central Authentication Service.'
> >
> > I want to change it to:-
> >
> > '[username] is successfully logged into the Central Authentication
> Service.'
> >
> > How to get the username on casGenericSuccess.jsp??
> >
> > Adding following on casGenericSuccess.jsp does not work:-
> >  <%= request.getParameter("username") %> <spring:message
> > code="screen.success.success" />
> >
> > It works only when the user gives the credentials on the login screen and
> logs
> > in fresh. If the user is returning and the TGT is still valid then it
> shows
> > following message:-
> >
> > 'null is successfully logged into the Central Authentication Service.'
> >
> > I want in all cases the username to come. Please let me know if you have
> any
> > suggestions.
> >
> > Thanks
> > Ashima
>
> --
> Andrew Feller, Business System Programmer
> LSU University Information Services
> 200 Frey Computing Services Center
> Baton Rouge, LA 70803
> Office: 225.578.3737
> Fax: 225.578.6400
>
>
>
> --
> 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
>

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

Reply via email to