Created
February 4, 2020 08:43
-
-
Save serpensalbus/c337a17cd37dc459272565effcfb7a3b to your computer and use it in GitHub Desktop.
JAAS config Magnolia example configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* options for JCRAuthenticationModule module: | |
* realm: to restrict the login to a certain realm | |
* use_realm_callback: to allow the GUI to pass the realm to login into | |
* skip_on_previous_success: if true the login is scipped if a former module proceeded a successfull login | |
* | |
* example: | |
* info.magnolia.jaas.sp.jcr.JCRAuthenticationModule requisite realm=public; | |
* info.magnolia.jaas.sp.jcr.JCRAuthenticationModule requisite realm=admin skip_on_previous_success=true; | |
*/ | |
magnolia { | |
info.magnolia.jaas.sp.jcr.JCRAuthenticationModule optional; | |
info.magnolia.jaas.sp.ldap.LDAPAuthenticationModule optional skip_on_previous_success=true; | |
info.magnolia.connector.sso.jaas.SSOAuthenticationModule requisite skip_on_previous_success=true; | |
info.magnolia.jaas.sp.jcr.JCRAuthorizationModule required; | |
}; | |
sso-authentication { | |
info.magnolia.connector.sso.jaas.SSOAuthenticationModule requisite; | |
info.magnolia.jaas.sp.jcr.JCRAuthorizationModule required; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With new
magnolia-sso
v2.0
module (https://docs.magnolia-cms.com/product-docs/6.2/Modules/List-of-modules/SSO-module.html#_configure_jaas), please updatesso-authentication
block