Announcement Announcement Module
Collapse
No announcement yet.
Custom X509 and form login Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Custom X509 and form login

    Hi,

    What would be the best approach for the following scenario.

    I want to try authenticate against values in the request header first before going into the X509AuthenticationFilter
    The reason for this is that the client cert details can be in two possible places depending on where the request came from (e.g load balancer)

    To find the user based on our own database tables I am using a custom UserDetailsService which is set inside the <authentication-manager>

    Code:
    <authentication-manager>
        	<authentication-provider user-service-ref="myUserService"/>
    </authentication-manager>
    Thanks in advance
    Last edited by dbutler; Nov 2nd, 2010, 04:46 AM.

  • #2
    I am thinking of removing the x509 namespace and extending AbstractPreAuthenticatedProcessingFilter?
    Last edited by dbutler; Nov 3rd, 2010, 09:57 AM. Reason: wrong filter name

    Comment

    Working...
    X