en:user_advanced:user_management
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
en:user_advanced:user_management [2017/08/03 00:23] – kjdon | en:user_advanced:user_management [2018/08/27 00:08] (current) – removed kjdon | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== User Management ====== | ||
- | |||
- | Greenstone software comes equipped with a system for registering and administering users. Greenstone users can register as a user with a login and password. Administrators can then assign them into various groups. These user groups are used for authenticating login to a [[en: | ||
- | |||
- | TODO: | ||
- | * Registering as a user | ||
- | * User groups | ||
- | * Editing users | ||
- | |||
- | ===== GS3 Tomcat authentication notes ===== | ||
- | |||
- | We use Tomcat Realm to connect to JDBC database of users. Its specified in | ||
- | resources/ | ||
- | |||
- | < | ||
- | <!-- | ||
- | For embedded derby db: | ||
- | | ||
- | | ||
- | --> | ||
- | <Realm className=" | ||
- | driverName=" | ||
- | connectionURL=" | ||
- | userTable=" | ||
- | userRoleTable=" | ||
- | /> | ||
- | </ | ||
- | |||
- | Will end up like | ||
- | |||
- | < | ||
- | <Realm className=" | ||
- | driverName=" | ||
- | connectionURL=" | ||
- | userTable=" | ||
- | userRoleTable=" | ||
- | /> | ||
- | |||
- | </ | ||
- | |||
- | Logins timeout when the tomcat session expires. Session expiry happens after a specified period of inactivity. In LibraryServlet.java, | ||
- | < | ||
- | /** | ||
- | * the maximum interval that the cached info remains in session_ids_table | ||
- | * (in seconds) This is set in web.xml | ||
- | */ | ||
- | protected int session_expiration = 1800; | ||
- | |||
- | </ | ||
- | |||
- | This can be overridden by putting a session-expiration init-param into your servlet specification in web/ | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | </ | ||
- | |||
en/user_advanced/user_management.1501719813.txt.gz · Last modified: 2017/08/03 00:23 by kjdon