Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 1.94 KB

jaasConfig.md

File metadata and controls

32 lines (18 loc) · 1.94 KB

Security Settings

Jabylon comes with 2 pre-installed security modules. However, it is designed in an extensible fashion so you can provide additional JAAS login module plug-ins as required.

Which security modules are used in which order depends on the contents of configuration/jaas.config. You can add, delete, modify and reorder the modules there as you see fit.

Database Login

The default login module is the internal database login. All users, their passwords, roles and additional data is stored in the database. You do not have to configure anything to use this module.

There are two system users predefined. The user Administrator with the password changeme has all permissions. The second user is called Anonymous and has no password. A user that is not logged in is automatically considered Anonymous.

By default this user has permission to browse the projects, but not edit them. You can remove permissions or add additional ones as you see fit.

LDAP Authentication

The second pre-installed module enables LDAP authentication. On first login Jabylon creates a new user in the internal database that is linked to the LDAP account. The password will only be in LDAP (and the user cannot change it) but the roles and additional information (email, full name,...) are synced from LDAP into the internal database.

To enable LDAP authentication you need to enter a few parameters into configuration/jaas.config

  • ldap the ldap server url
  • ldap.port the ldap server port
  • root.dn the root dn to query agains
  • manager the CN of the manager. Jabylon will use this account to access LDAP
  • manager.password the password of the manager. Jabylon will use this account to access LDAP
  • user.id the uid attribute of a user
  • user.name the full name attribute of a user (optional)
  • user.mail the email attribute of a user (optional)