that is spring code not wicket.
and the javadoc of the doFilter methods tells enough

/**
     * This <code>doFilter</code> implementation stores a request attribute
for
     * "already filtered", proceeding without filtering again if the
     * attribute is already there.
     * @see #getAlreadyFilteredAttributeName
     * @see #shouldNotFilter
     * @see #doFilterInternal
     */


On Mon, May 5, 2008 at 1:43 PM, Eyal Golan <[EMAIL PROTECTED]> wrote:

> Hi,
> I posted my problem in another thread but I manged to find the cause of
> the
> exception.
> We have a SecurityFilter that extends OncePerRequestFilter.
> In web.xml we have this:
>    <filter>
>        <filter-name>SecurityFilter</filter-name>
>        <filter-class>com.eurekify.security.SecurityFilter</filter-class>
>    </filter>
>
> The exception was because in doFilterInternal, the session was referenced.
>        if (details != null) {
>            LOG.debug("saving user details from UserDetailslHolder to
> Session");
>            session.setAttribute(USER_NAME_ATTRIBUTE, details.getName());
>            session.setAttribute(PASSWORD_ATTRIBUTE,
> details.getPassword());
>        }
>
> I'm going to put in that place a try catch clause. (or check the session
> state)
> Anyway,
> can anyone give a brief explanation of the purpose of this
> (doFilterInternal) method?
> When is it being called?
>
> Thanks
>
>
> --
> Eyal Golan
> [EMAIL PROTECTED]
>
> Visit: http://jvdrums.sourceforge.net/
>

Reply via email to