-
May 25th, 2012, 03:51 PM
#1
AbstractPreAuthenticatedProcessingFilter vs AbstractAuthenticationProcessingFilter
Hi all,
After reading the documentation i've some doubts about what to implement in one project. The project needs a certificate validation, because of that, I think that i've to use x509 filter. Reading about this filter I saw that is an AbstractPreAuthenticatedProcessingFilter. What's the difference between PreAuthenticatedFilter and AuthenticationFilter? In the 2 cases what you can do is "validate" an user, no?
My other question is that authenticationfilter has a handler for manage exception: authentication-failure-handler and i can handle the exceptions in a xml for example:
<bean id="exceptionManager" class="org.springframework.security.web.authentica tion.ExceptionMappingAuthenticationFailureHandler" >
<property name="exceptionMappings">
<props>
<prop key="BadCredentialsException">/error/badcredentials</prop>
</props>
</property>
</bean>
Is there any similar for use in the preauthenticatedfilters?
Any help would be apreciated, thanks to all.
PD: sorry for my mistakes writing, english isn't my first language...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules