Public Methods | |
| AuthTool () throws Exception | |
| AuthTool (DbTool db, String tableNamePrefix) throws Exception | |
| void | setDbTool (DbTool db) throws Exception |
| void | setTableNamePrefix (String tableNamePrefix) throws Exception |
| String | getTableNamePrefix () throws Exception |
| void | sanityCheck () throws Exception |
| void | refreshSchema () throws Exception |
| String | userTable () throws Exception |
| String | groupTable () throws Exception |
| String | groupMemberTable () throws Exception |
| void | addUser (String userName, String password) throws Exception |
| void | addUser (String userName, String password, String email) throws Exception |
| void | setUserEmail (String userName, String email) throws Exception |
| void | setUserPassword (String userName, String password) throws Exception |
| void | changePassword (String userName, String newPassword) throws Exception |
| void | removeUser (String userName) throws Exception |
| Map | getUsers () throws Exception |
| Map | getGroups () throws Exception |
| Map | getGroupMembers (String groupName) throws Exception |
| void | addGroup (String groupName) throws Exception |
| void | removeGroup (String groupName) throws Exception |
| boolean | authenticate (String userName, String password) throws Exception |
| void | addGroupMember (String groupName, String userName) throws Exception |
| boolean | isGroupMember (String groupName, HttpServletRequest request) throws Exception |
| boolean | isGroupMember (String groupName, String userName) throws Exception |
| void | removeGroupMember (String groupName, String userName) throws Exception |
| String | getCurrentUser (HttpServletRequest request) throws Exception |
| String | getUserEmail (String userName) throws Exception |
| void | setCurrentUser (HttpServletResponse response, String userName) |
| void | setCurrentUser (HttpServletResponse response, String userName, String password) throws Exception |
Private Methods | |
| Map | getIdNames (String sql) throws Exception |
Private Attributes | |
| DbTool | db = null |
| String | tableNamePrefix = null |
|
|
Definition at line 42 of file AuthTool.java. |
|
||||||||||||
|
Definition at line 48 of file AuthTool.java. References sosc::AuthTool::setDbTool(), sosc::AuthTool::setTableNamePrefix(), and sosc::AuthTool::tableNamePrefix. |
|
|
Definition at line 238 of file AuthTool.java. References sosc::AuthTool::groupTable(), sosc::AuthTool::sanityCheck(), and sosc::DbTool::update(). |
|
||||||||||||
|
Definition at line 277 of file AuthTool.java. References sosc::AuthTool::groupMemberTable(), sosc::AuthTool::groupTable(), sosc::AuthTool::isGroupMember(), sosc::AuthTool::sanityCheck(), sosc::DbTool::update(), and sosc::AuthTool::userTable(). |
|
||||||||||||||||
|
Definition at line 142 of file AuthTool.java. References sosc::AuthTool::addUser(), and sosc::AuthTool::setUserEmail(). |
|
||||||||||||
|
Definition at line 129 of file AuthTool.java. References sosc::AuthTool::sanityCheck(), sosc::DbTool::update(), and sosc::AuthTool::userTable(). Referenced by sosc::AuthTool::addUser(). |
|
||||||||||||
|
Definition at line 261 of file AuthTool.java. References sosc::DbTool::query(), sosc::DbTool::quote(), sosc::AuthTool::sanityCheck(), and sosc::AuthTool::userTable(). Referenced by sosc::AuthTool::setCurrentUser(). |
|
||||||||||||
|
Definition at line 174 of file AuthTool.java. References sosc::DbTool::quote(), sosc::AuthTool::sanityCheck(), sosc::DbTool::update(), and sosc::AuthTool::userTable(). |
|
|
Definition at line 347 of file AuthTool.java. Referenced by sosc::AuthTool::isGroupMember(). |
|
|
Definition at line 220 of file AuthTool.java. References sosc::AuthTool::getIdNames(), sosc::AuthTool::groupMemberTable(), sosc::AuthTool::groupTable(), sosc::DbTool::quote(), and sosc::AuthTool::userTable(). |
|
|
Definition at line 213 of file AuthTool.java. References sosc::AuthTool::getIdNames(), and sosc::AuthTool::groupTable(). |
|
|
Definition at line 196 of file AuthTool.java. References sosc::DbTool::query(). Referenced by sosc::AuthTool::getGroupMembers(), sosc::AuthTool::getGroups(), and sosc::AuthTool::getUsers(). |
|
|
Definition at line 70 of file AuthTool.java. References sosc::AuthTool::tableNamePrefix. |
|
|
Definition at line 366 of file AuthTool.java. References sosc::DbTool::query(), sosc::DbTool::quote(), and sosc::AuthTool::userTable(). |
|
|
Definition at line 206 of file AuthTool.java. References sosc::AuthTool::getIdNames(), and sosc::AuthTool::userTable(). |
|
|
Definition at line 118 of file AuthTool.java. References sosc::AuthTool::tableNamePrefix. Referenced by sosc::AuthTool::addGroupMember(), sosc::AuthTool::getGroupMembers(), sosc::AuthTool::isGroupMember(), sosc::AuthTool::refreshSchema(), sosc::AuthTool::removeGroup(), sosc::AuthTool::removeGroupMember(), and sosc::AuthTool::removeUser(). |
|
|
Definition at line 111 of file AuthTool.java. References sosc::AuthTool::tableNamePrefix. Referenced by sosc::AuthTool::addGroup(), sosc::AuthTool::addGroupMember(), sosc::AuthTool::getGroupMembers(), sosc::AuthTool::getGroups(), sosc::AuthTool::isGroupMember(), sosc::AuthTool::refreshSchema(), sosc::AuthTool::removeGroup(), and sosc::AuthTool::removeGroupMember(). |
|
||||||||||||
|
Definition at line 307 of file AuthTool.java. References sosc::AuthTool::groupMemberTable(), sosc::AuthTool::groupTable(), sosc::DbTool::query(), sosc::AuthTool::sanityCheck(), and sosc::AuthTool::userTable(). |
|
||||||||||||
|
Alias for
Definition at line 300 of file AuthTool.java.
References sosc::AuthTool::getCurrentUser().
Referenced by sosc::AuthTool::addGroupMember(). |
|
|
Definition at line 93 of file AuthTool.java. References sosc::AuthTool::groupMemberTable(), sosc::AuthTool::groupTable(), sosc::DbTool::update(), and sosc::AuthTool::userTable(). |
|
|
Definition at line 249 of file AuthTool.java. References sosc::AuthTool::groupMemberTable(), sosc::AuthTool::groupTable(), sosc::AuthTool::sanityCheck(), and sosc::DbTool::update(). |
|
||||||||||||
|
Definition at line 330 of file AuthTool.java. References sosc::AuthTool::groupMemberTable(), sosc::AuthTool::groupTable(), sosc::AuthTool::sanityCheck(), sosc::DbTool::update(), and sosc::AuthTool::userTable(). |
|
|
Definition at line 184 of file AuthTool.java. References sosc::AuthTool::groupMemberTable(), sosc::AuthTool::sanityCheck(), sosc::DbTool::update(), and sosc::AuthTool::userTable(). |
|
|
Definition at line 77 of file AuthTool.java. References sosc::AuthTool::tableNamePrefix. Referenced by sosc::AuthTool::addGroup(), sosc::AuthTool::addGroupMember(), sosc::AuthTool::addUser(), sosc::AuthTool::authenticate(), sosc::AuthTool::changePassword(), sosc::AuthTool::isGroupMember(), sosc::AuthTool::removeGroup(), sosc::AuthTool::removeGroupMember(), sosc::AuthTool::removeUser(), and sosc::AuthTool::setCurrentUser(). |
|
||||||||||||||||
|
Definition at line 383 of file AuthTool.java. References sosc::AuthTool::authenticate(), sosc::AuthTool::sanityCheck(), and sosc::AuthTool::setCurrentUser(). |
|
||||||||||||
|
Definition at line 375 of file AuthTool.java. Referenced by sosc::AuthTool::setCurrentUser(). |
|
|
Definition at line 56 of file AuthTool.java. Referenced by sosc::AuthTool::AuthTool(). |
|
|
Definition at line 63 of file AuthTool.java. References sosc::AuthTool::tableNamePrefix. Referenced by sosc::AuthTool::AuthTool(). |
|
||||||||||||
|
Definition at line 150 of file AuthTool.java. References sosc::DbTool::quote(), sosc::DbTool::update(), and sosc::AuthTool::userTable(). Referenced by sosc::AuthTool::addUser(). |
|
||||||||||||
|
Definition at line 162 of file AuthTool.java. References sosc::DbTool::quote(), sosc::DbTool::update(), and sosc::AuthTool::userTable(). |
|
|
Definition at line 104 of file AuthTool.java. References sosc::AuthTool::tableNamePrefix. Referenced by sosc::AuthTool::addGroupMember(), sosc::AuthTool::addUser(), sosc::AuthTool::authenticate(), sosc::AuthTool::changePassword(), sosc::AuthTool::getGroupMembers(), sosc::AuthTool::getUserEmail(), sosc::AuthTool::getUsers(), sosc::AuthTool::isGroupMember(), sosc::AuthTool::refreshSchema(), sosc::AuthTool::removeGroupMember(), sosc::AuthTool::removeUser(), sosc::AuthTool::setUserEmail(), and sosc::AuthTool::setUserPassword(). |
|
|
Definition at line 36 of file AuthTool.java. |
|
|
Definition at line 37 of file AuthTool.java. Referenced by sosc::AuthTool::AuthTool(), sosc::AuthTool::getTableNamePrefix(), sosc::AuthTool::groupMemberTable(), sosc::AuthTool::groupTable(), sosc::AuthTool::sanityCheck(), sosc::AuthTool::setTableNamePrefix(), and sosc::AuthTool::userTable(). |
1.2.15