Added by Sebastian Gonzalez Oyuela, last edited by Gianluca Brigandi on Jan 20, 2009  (view change)

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

Is one of the core components responsible of realizing the "Remember Me" functionality . The authentication mechanism verifies user identity using an encrypted token. The decrypted token value is then used as the credential supplied for authentication.

Component Properties

Properties
credential-store The credential store configured for this scheme.
credential-store-key-adapter The credential store key adapter configured for this scheme.

Sample Component Definition

josso-gateway-auth.xml
<s:beans xmlns:s="http://www.springframework.org/schema/beans"
       xmlns:rememberme-authscheme="urn:org:josso:rememberme: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:rememberme:authscheme http://www.josso.org/schema/josso-rememberme-authscheme.xsd">
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <!-- Rememberme Authentication Scheme           -->
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <rememberme-authscheme:rememberme-auth-scheme
            id="josso-rememberme-authentication" >

        <rememberme-authscheme:credentialStore>
            <s:ref bean="josso-identity-store"/>
        </rememberme-authscheme:credentialStore>

        <rememberme-authscheme:credentialStoreKeyAdapter>
            <s:ref bean="josso-simple-key-adapter"/>
        </rememberme-authscheme:credentialStoreKeyAdapter>

    </rememberme-authscheme:rememberme-auth-scheme>

</s:beans>