saml 2.0 - Spring security adfs authentication -


i'm quite new spring , security. secure app using basic spring security configuration. here security.xml:

<!--?xml version="1.0" encoding="utf-8"?--> <beans:beans xmlns="http://www.springframework.org/schema/security"              xmlns:beans="http://www.springframework.org/schema/beans"              xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"              xsi:schemalocation="http://www.springframework.org/schema/beans            http://www.springframework.org/schema/beans/spring-beans-3.0.xsd            http://www.springframework.org/schema/security            http://www.springframework.org/schema/security/spring-security.xsd">      <http use-expressions="true" authentication-manager-ref="authenticationmanager" entry-point-ref="authenticationentrypoint">         <csrf disabled="true" />         <intercept-url pattern="/**" access="hasrole('user')" />         <form-login authentication-success-handler-ref="customauthenticationsuccesshandler"                     default-target-url="/#"                     always-use-default-target="true"                     authentication-failure-url="/login"         />         <http-basic />         <logout />     </http>       <authentication-manager alias="authenticationmanager">         <authentication-provider user-service-ref="userdao"></authentication-provider>     </authentication-manager>  </beans:beans> 

it works great, need use adfs authentication app(running on localhost:8888)

i have adfs server running on localhost:8080, , on page http://localhost:8080/adfs/ls see: auth page

now need authenticate user using adfs server. think should send saml request(or smth that) given adfs server, have no idea how that.

so, how achieve authenticatoin using adfs server?

many in advance help!


Comments