Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • username and password request, and
  • authentication and authorization.

The default Tomcat which is Although possible to use other servlets, the default Magnolia servlet engine is Tomcat. Configuration is done in WEB-INF/config/jaas.config file.

INSERT SCREEN GRAB

In addition, you can use a servlet engine other than. The default configuration for the WEB-INF/config/jaas.config file is:

Code Block
magnolia {info.magnolia.jaas.sp.jcr.JCRAuthenticationModule requisite;
  info.magnolia.jaas.sp.jcr.JCRAuthorizationModule required;};

This The default configuration uses two classes: 

  • one

...

  • for user login and password authentication, and
  • one for authorization of user and password.

Each of these classes extend:

Javadoc
info.magnolia.jaas.sp.AbstractLoginModule
info.magnolia.jaas.sp.AbstractLoginModule

Together they provide a powerful framework within which you can You can use this framework to implement your own login logic.

...