The problem appears to be caused by trying to logout before you've
tried to login.  This worked fine in previous releases where the
LogoutFilter was present.

Matt

On 12/1/06, Matt Raible <[EMAIL PROTECTED]> wrote:
> After upgrading to 1.0.3, I'm getting the following error when running
> some tests:
>
> [INFO] [talledLocalContainer] ERROR - StandardWrapperValve.invoke(260)
> | Servlet.service() for servlet jsp threw exception
> [INFO] [talledLocalContainer] java.lang.NullPointerException
> [INFO] [talledLocalContainer]   at
> org.acegisecurity.ui.rememberme.TokenBasedRememberMeServices.logout(TokenBasedRememberMeServices.java:295)
> [INFO] [talledLocalContainer]   at
> org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:98)
>
> Here's what I have in my security.xml context file:
>
>     <bean id="filterChainProxy" 
> class="org.acegisecurity.util.FilterChainProxy">
>         <property name="filterInvocationDefinitionSource">
>             <value>
>                 CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
>                 PATTERN_TYPE_APACHE_ANT
>
> /**=httpSessionContextIntegrationFilter,logoutFilter,authenticationProcessingFilter,securityContextHolderAwareRequestFilter,rememberMeProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,filterInvocationInterceptor
>             </value>
>             <!-- Put channelProcessingFilter before
> securityContextHolderAwareRequestFilter to turn on SSL switching -->
>             <!-- It's off by default b/c Canoo WebTest doesn't support
> SSL out-of-the-box -->
>         </property>
>     </bean>
>
>     <bean id="httpSessionContextIntegrationFilter"
> class="org.acegisecurity.context.HttpSessionContextIntegrationFilter"/>
>
>     <bean id="logoutFilter" class="org.acegisecurity.ui.logout.LogoutFilter">
>         <constructor-arg value="/index.jsp"/> <!-- URL redirected to
> after logout -->
>         <constructor-arg>
>             <list>
>                 <ref bean="rememberMeServices"/>
>                 <bean
> class="org.acegisecurity.ui.logout.SecurityContextLogoutHandler"/>
>             </list>
>         </constructor-arg>
>         <property name="filterProcessesUrl" value="/logout.jsp"/>
>     </bean>
>
> Any ideas?
>
> Matt
>
> On 11/28/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> > no time ;)
> > doing it now
> >
> > On 11/28/06, Matt Raible <[EMAIL PROTECTED]> wrote:
> > > Any reason why these aren't in the central repo yet?
> > >
> > > http://www.mvnrepository.com/artifact/org.acegisecurity/acegi-security
> > >
> > > Matt
> > >
> > > On 11/17/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> > > > the acegi repo is synced
> > > > http://acegisecurity.sourceforge.net/repository/releases/
> > > >
> > > > Ben didn't put the jars there yet. It can be done with mvn deploy but
> > > > to keep consistency we need to take the jars released through SF built
> > > > with m1 and put them instead of the ones built with m2.
> > > >
> > > > On 11/17/06, Ben Hale <[EMAIL PROTECTED]> wrote:
> > > > > Just a quick question for you.  How do you want to upload your
> > > > > release to the maven ibiblio repository?  Do you have the maven crew
> > > > > syncing some local repo of yours?  If not, you're more than welcome
> > > > > to piggy back on the spring local repo which gets synced by the maven
> > > > > guys.  It's up to you, I just thought I'd offer.
> > > > >
> > > > > Ben Hale
> > > > > Spring Training, Consulting and Support - "From the Source"
> > > > > http://www.interface21.com
> > > > > cell: 321.591.2340
> > > > >
> > > > >
> > > > >
> > > > > On Nov 16, 2006, at 10:38 PM, Ben Alex wrote:
> > > > >
> > > > > > Dear Spring Community
> > > > > >
> > > > > > I am pleased to advise Acegi Security 1.0.3 is now available.
> > > > > >
> > > > > > This release is mostly a bug fix release, although the new domain
> > > > > > object
> > > > > > access control list (ACL) feature is now available for preview.
> > > > > > I'll be
> > > > > > presenting a session on this new feature at The Spring Experience 
> > > > > > next
> > > > > > month, so I hope to see you there.
> > > > > >
> > > > > > Existing users can upgrade to release 1.0.3 with a simple JAR drop.
> > > > > >
> > > > > > Please visit http://tinyurl.com/ym2k7k for a detailed changelog.
> > > > > >
> > > > > > The project's web site at http://acegisecurity.org provides 
> > > > > > additional
> > > > > > information on Acegi Security's features, access to online
> > > > > > documentation, and links to download the latest release.
> > > > > >
> > > > > > We trust that you find this new release useful in your projects.
> > > > > >
> > > > > > Cheers
> > > > > > Ben
> > > > > >
> > > > > > ----------------------------------------------------------------------
> > > > > > ---
> > > > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > > > Join SourceForge.net's Techsay panel and you'll get the chance to
> > > > > > share your
> > > > > > opinions on IT & business topics through brief surveys - and earn 
> > > > > > cash
> > > > > > http://www.techsay.com/default.php?
> > > > > > page=join.php&p=sourceforge&CID=DEVDEV
> > > > > > _______________________________________________
> > > > > > Springframework-developer mailing list
> > > > > > [EMAIL PROTECTED]
> > > > > > https://lists.sourceforge.net/lists/listinfo/springframework-developer
> > > > >
> > > > >
> > > > >
> > > > > -------------------------------------------------------------------------
> > > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > > Join SourceForge.net's Techsay panel and you'll get the chance to 
> > > > > share your
> > > > > opinions on IT & business topics through brief surveys - and earn cash
> > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > >
> > > > > _______________________________________________
> > > > > Springframework-developer mailing list
> > > > > [EMAIL PROTECTED]
> > > > > https://lists.sourceforge.net/lists/listinfo/springframework-developer
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > I could give you my word as a Spaniard.
> > > > No good. I've known too many Spaniards.
> > > >                              -- The Princess Bride
> > > >
> > > > -------------------------------------------------------------------------
> > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > Join SourceForge.net's Techsay panel and you'll get the chance to share 
> > > > your
> > > > opinions on IT & business topics through brief surveys - and earn cash
> > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > _______________________________________________
> > > > Springframework-developer mailing list
> > > > [EMAIL PROTECTED]
> > > > https://lists.sourceforge.net/lists/listinfo/springframework-developer
> > > >
> > >
> > >
> > > --
> > > http://raibledesigns.com
> > >
> > > -------------------------------------------------------------------------
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to share 
> > > your
> > > opinions on IT & business topics through brief surveys - and earn cash
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > _______________________________________________
> > > Springframework-developer mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/springframework-developer
> > >
> >
> >
> > --
> > I could give you my word as a Spaniard.
> > No good. I've known too many Spaniards.
> >                              -- The Princess Bride
> >
>
>
> --
> http://raibledesigns.com
>


-- 
http://raibledesigns.com

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to