Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
auth_setup [2020/04/26 03:33] 127.0.0.1 external edit |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== User Authentication ===== | ||
- | // | ||
- | |||
- | ---- | ||
- | ==== Property File ==== | ||
- | |||
- | This is the simplest way to authenticate the users. | ||
- | |||
- | To select this option, go to " | ||
- | |||
- | Next is to enter all the user ids and their passwords in the file named userAuth.properties. This file must be placed in / | ||
- | |||
- | The user ids and their passwords are stored in a plain java properties file in the following format: userid=password. | ||
- | |||
- | You will need to restart // | ||
- | |||
- | The passwords in userAuth.properties are encrypted automatically next time when the server is started. | ||
- | |||
- | |||
- | ---- | ||
- | ==== LDAP Authentication ==== | ||
- | |||
- | You may configure // | ||
- | |||
- | To use LDAP as the user authentication, | ||
- | |||
- | Next you need to edit / | ||
- | |||
- | Restart // | ||
- | |||
- | The user credentials are cached and thus any user id and password changes on the ldap server may not be reflected in // | ||
- | |||
- | Other user authentications may be supported through custom code by creating a java class inheriting from com.webmbt.AuthBase. | ||
- | |||
- | ---- | ||
- | ==== Build Your Own ==== | ||
- | |||
- | You may develop your own user authentication very easily. All you have to do is to create a java class inheriting from com.webmbt.AuthBase and implement __AuthCredential__[[edit=AuthCredential|? | ||
- | |||
- | The user id and password are cached automatically by com.webmbt.AuthBase for performance. | ||
- | |||