Authenticates users based on username and password credential set.
Component Properties
Properties
|
Sample Component Definition
josso-gateway-auth.xml
<?xml version="1.0" encoding="UTF-8" ?> <s:beans xmlns:s="http://www.springframework.org/schema/beans" xmlns:basic-authscheme="urn:org:josso:basic:authscheme" 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-2.5.xsd urn:org:josso:basic:authscheme http://www.josso.org/schema/josso-basic-authscheme.xsd"> <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> <!-- Basic Authentication Scheme --> <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> <basic-authscheme:basic-auth-scheme id="josso-basic-authentication" hashAlgorithm="MD5" hashEncoding="HEX" ignorePasswordCase="false" ignoreUserCase="false"> <basic-authscheme:credentialStore> <s:ref bean="josso-identity-store"/> </basic-authscheme:credentialStore> <basic-authscheme:credentialStoreKeyAdapter> <s:ref bean="josso-simple-key-adapter"/> </basic-authscheme:credentialStoreKeyAdapter> </basic-authscheme:basic-auth-scheme> </s:beans>