Announcement Announcement Module
Collapse
No announcement yet.
[RC1] "No AuthenticationEntryPoint" when combining form and openid login Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • [RC1] "No AuthenticationEntryPoint" when combining form and openid login

    I am trying to combine form login and openid login in Spring Security 3.0.0.RC1.

    This is my configuration:

    Code:
    <http path-type="regex" use-expressions="true">
        <intercept-url pattern=".*\.page" filters="none" />
        <intercept-url pattern=".*\.action.*" access="isAuthenticated()" />
        <intercept-url pattern=".*" access="permitAll()"/>
        <form-login/>
        <openid-login/>
    </http>
    
    <authentication-manager>
        <authentication-provider>
            <jdbc-user-service data-source-ref="dataSource" id="userDetailsService"/>
        </authentication-provider>
    </authentication-manager>
    When the application starts I get the following exception:

    Code:
    13-10-2009 20:59:15 ERROR org.springframework.web.context.ContextLoader:213 - Context initialization failed
    org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: No AuthenticationEntryPoint could be established. Please make sure you have a login mechanism configured through the namespace (such as form-login) or specify a custom AuthenticationEntryPoint with the 'entry-point-ref' attribute
    Offending resource: class path resource [security-application-context-3.xml]
    Is it even possible to combine the two, and if so how?

  • #2
    It's a bug. Thanks for spotting it.

    https://jira.springsource.org/browse/SEC-1269

    I'll get on to it right away

    Comment


    • #3
      Thanks for the quick response Luke.

      Will the fix be available in the maven snapshots? If not is there a workaround?

      Comment


      • #4
        Yes it should be in the snapshot. You can add an explicit entry point as a workaround.

        Comment

        Working...
        X