spring security - Authenticate using SAML-based Basic Authentication? -


i have use case web application needs let users authenticate in 2 different ways using same user data store (aka idp) via saml.

  • user's browser redirected idp , redirected saml assertion (aka websso profile).
  • user makes request sp providing credentials via basic authentication. sp need send user's credentials idp , idp provide assertion through channel (server server).

i'm using spring security saml extension. sample application in spring saml contains both basic authentication username , password , saml-based authentication basic auth portion uses local accounts defined in securitycontext.xml file. need use user accounts on idp. possible? if so, how configure spring saml?

there no standard saml websso mechanism allow sp request assertion specific user providing credentials. might want ws-trust standard covers such use-cases using request security token methods (rst/rstr calls). quite standardized way client credentials grant of oauth 2.0. both out of scope spring saml, can combined it.


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -