Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to implement custom authentication using Spring 2.5
    primarykey
    data
    text
    <p>We are using spring 2.5. We have common web services to authenticate user, which takes a user name and password as input and returns true or false after validating the password. How and where should we implement this web service call? Please reply. Thanks</p> <p>Right now we have following spring configuration. we want to incorporate webservice call into it.</p> <p> </p> <pre><code> &lt;intercept-url pattern="/service/**" access="ROLE_ANONYMOUS, ROLE_LEARNER,ROLE_TRAININGADMINISTRATOR,ROLE_LMSADMINISTRATOR,ROLE_REGULATORYANALYST,ROLE_INSTRUCTOR"/&gt; &lt;logout invalidate-session="true" logout-success-url="/login.do"/&gt; &lt;anonymous /&gt; &lt;http-basic /&gt; &lt;remember-me /&gt; &lt;/http&gt; &lt;b:bean id="authenticationProcessingFilterEntryPoint" class="org.springframework.security.ui.webapp.AuthenticationProcessingFilterEntryPoint"&gt; &lt;b:property name="loginFormUrl" value="/login.do"/&gt; &lt;b:property name="forceHttps" value="false" /&gt; &lt;/b:bean&gt; &lt;authentication-manager alias='authenticationManagerAlias'/&gt; &lt;b:bean id="myAuthenticationProcessingFilter" class="org.springframework.security.ui.webapp.AuthenticationProcessingFilter"&gt; &lt;b:property name="defaultTargetUrl" value="/interceptor.do"/&gt; &lt;b:property name="authenticationFailureUrl" value="/login.do"/&gt; &lt;b:property name="authenticationManager" ref="authenticationManagerAlias"/&gt; &lt;b:property name="authenticationDetailsSource" ref="vu360UserAuthenticationDetailsSource"/&gt; &lt;b:property name="alwaysUseDefaultTargetUrl" value="true"/&gt; &lt;custom-filter position="AUTHENTICATION_PROCESSING_FILTER"/&gt; &lt;/b:bean&gt; &lt;b:bean class="org.springframework.security.providers.dao.DaoAuthenticationProvider"&gt; &lt;b:property name="userDetailsService" ref="userDetailsService"/&gt; &lt;b:property name="passwordEncoder" ref="passwordEncoder"/&gt; &lt;b:property name="saltSource" ref="saltSource"/&gt; &lt;custom-authentication-provider/&gt; &lt;/b:bean&gt; &lt;b:bean class="org.springframework.security.providers.dao.DaoAuthenticationProvider"&gt; &lt;b:property name="userDetailsService" ref="userDetailsService"/&gt; &lt;custom-authentication-provider/&gt; &lt;/b:bean&gt; </code></pre> <p> </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload