Can you post your filter configuration? Thanks! Scott
On Fri, Oct 5, 2012 at 3:35 PM, Richard Yang <[email protected]> wrote: > The httpsession is also null in my client code. > HttpSession session = req.getSession(false); > session is null. > I wonder how could this happen? > > > *From:* Richard Yang <[email protected]> > *To:* [email protected] > *Sent:* Friday, October 5, 2012 1:47 PM > > *Subject:* Re: [cas-user] session.getAttribute(CONST_CAS_ASSERTION) and > getRemoteUser() always null > > I tried ssh for cas server on tomcat. It made no difference. I still > cannot getRemoteUser(). > > I have all these 3 filters defined and mapped > AuthenticationFilter TicketValidationFilter HttpServletRequestWrapperFilter > Do I have to use Saml11AuthenticationFilter and > Saml11TicketValidationFilter to make the user properties to be passed? > > *From:* Marvin Addison <[email protected]> > *To:* [email protected] > *Sent:* Friday, October 5, 2012 8:57 AM > *Subject:* Re: [cas-user] session.getAttribute(CONST_CAS_ASSERTION) and > getRemoteUser() always null > > > I am in development environment. Do I have to enable ssl on cas server? > > It's strictly not required, but it's easy to set up with a self-signed > cert and there's really no reason not to invest the energy on it. > > > Is not using ssl the reason I could not getRemoteUser()? > > Without further information we can't say. Post some logs and maybe we > can troubleshoot further. > > M > > -- > 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 > > > > -- > 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
