Authentication methods

From OS.bee documentation
Revision as of 08:59, 24 September 2019 by Mollik (Talk | contribs) (Created page with "=Authentication Methods= OS.bee offers 2 ways to manage user authentication: database based and LDAP based authentication. Both methods use the user_account table to contro...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Authentication Methods

OS.bee offers 2 ways to manage user authentication: database based and LDAP based authentication.

Both methods use the user_account table to control the users, manage access rights and store user settings.

The difference is in the way, the users password is checked (and stored).

For the database based method, the password is stored in the user_account in the "shiro" encrypted way. For the LDAP based method, no password is stored in the database. The user is authenticated against the LDAP server, which needs to be accessable during runtime of course.

Both methods can be mixed, the database based method is always activated.

LDAP needs to be configured in the preferences file or via the perferences dialog:

{{ shiro/org.eclipse.osbp.authentication.shiro.extensions.LDAPRealm/contextFactoryUrl=ldap\://ldap.company.com\:389 shiro/org.eclipse.osbp.authentication.shiro.extensions.LDAPRealm/userDnTemplate=CN\={0},CN\=Users,DC\=company,DC\=com }}