The jaas-login-service is provided as an OSGi bundle, which may be activated by
The maven artifact is:
The SQL login service authenticates against users in a SQL database, using configurable SQL queries.
There are no plans to support authentication domains, because typical standalone login systems do not care for domains.
The SQL login service may be configured using the OSGi configuration PID
org.clazzes.login.sql using these configuration values:
Not implemented yet. Optional. Required for deactivateUser feature.
SQL template for a prepared statement to deactivate a user.
Optional. Defaults to an empty string.
The login domain to use for principals when the request did not contain a domain.
Optional. Required for getGroups feature.
SQL template for a prepared statement to query the group IDs and group names of the groups of which the user specified by a userId is a member.
Optional. Defaults to
Values supported so far:
Password fields may contain:
Optional. Required for changePassword feature.
SQL template for a prepared statement to set a new password for the user.
SQL template for a prepared statement to query userId, encrypted password, pretty name and e-mail address of a user specified by a userId.
Optional. Required for getGroupMembers feature.
SQL template for a prepared statement to query the user IDs, user names and e-mail-addresses of the members of the group specified by a groupId.