en:user_advanced:user_management
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
en:user_advanced:user_management [2014/09/04 02:20] – external edit 127.0.0.1 | en:user_advanced:user_management [2017/08/03 00:23] – kjdon | ||
---|---|---|---|
Line 7: | Line 7: | ||
* User groups | * User groups | ||
* Editing users | * 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/ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ |