...
- one for user login and password authentication, and
- one for authorization of user and password.
Each of these classes extends
Javadoc |
---|
| info.magnolia.jaas.sp.AbstractLoginModule |
---|
| info.magnolia.jaas.sp.AbstractLoginModule |
---|
|
. You can use this framework to implement your own login logic.
...
The following (simplified) login ) procedure assumes you have two JAAS modules configured:
...
The login()
authentication method of
Javadoc |
---|
| info.magnolia.jaas.sp.jcr.JCRAuthenticationModule |
---|
| info.magnolia.jaas.sp.jcr.JCRAuthenticationModule |
---|
|
is mandatory. This method verifies that the user entered is valid and enabled
and . In addition it checks that the password entered matches the password stored for that user.
...