SSO Login Extension module
Edition |
Incubator (services) |
||
Git |
|||
Latest |
1.0
|
The SSO Login Extension module provides provides JCR and SSO authentication.
This module is at the INCUBATOR level. |
Installing with Maven
Maven is the easiest way to install the module. Add the following to your bundle:
<dependency>
<groupId>info.magnolia.sso</groupId>
<artifactId>sso-login-extension</artifactId>
<version>1.0</version>
</dependency>
Configuration
JAAS configuration
Your jaas.config
file should look like so:
sso-authentication {
info.magnolia.sso.jaas.SsoAuthenticationModule requisite;
info.magnolia.jaas.sp.jcr.JCRAuthorizationModule required;
};
magnolia {
// ensure user is who he claims he is (check pwd for the user)
info.magnolia.jaas.sp.jcr.JCRAuthenticationModule requisite;
// retrieve users ACLs
info.magnolia.jaas.sp.jcr.JCRAuthorizationModule required;
};
URL configuration
By default, to log in using jcr, you will have to point your browser to /.magnolia/jcrlogin
, this value can be changed in the configuration using decorations, the value is set in the property jcrLoginUrl
, you can set the new URL value in that property. Otherwise /.magnolia/jcrlogin
is used as default.
This property can be created via JCR or by decorating the configuration following these instructions. |