| Modifier and Type | Class and Description |
|---|---|
| public static class | JDBCLoginService.JDBCUserPrincipal
A UserPrincipal with extra jdbc key info. |
| Modifier and Type | Field and Description |
|---|---|
| protected Connection | |
| protected String | |
| protected String | |
| protected String | |
| protected String | |
| protected String | |
| protected String | |
| protected String | |
| protected String | |
| protected String | |
| protected String | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public Connection | |
| protected void | doStart()
Overrides org. |
| protected void | doStop()
Overrides org. |
| public String | |
| public List | loadRoleInfo(UserPrincipal user)
Implements abstract org. |
| public UserPrincipal | loadUserInfo(String username)
Implements abstract org. |
| public void |
| _con | back to summary |
|---|---|
| protected Connection _con | |
| _config | back to summary |
|---|---|
| protected String _config | |
| _jdbcDriver | back to summary |
|---|---|
| protected String _jdbcDriver | |
| _password | back to summary |
|---|---|
| protected String _password | |
| _roleSql | back to summary |
|---|---|
| protected String _roleSql | |
| _roleTableRoleField | back to summary |
|---|---|
| protected String _roleTableRoleField | |
| _url | back to summary |
|---|---|
| protected String _url | |
| _userName | back to summary |
|---|---|
| protected String _userName | |
| _userSql | back to summary |
|---|---|
| protected String _userSql | |
| _userTableKey | back to summary |
|---|---|
| protected String _userTableKey | |
| _userTablePasswordField | back to summary |
|---|---|
| protected String _userTablePasswordField | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG Hides org. | |
| JDBCLoginService | back to summary |
|---|---|
| public JDBCLoginService() | |
| JDBCLoginService | back to summary |
|---|---|
| public JDBCLoginService(String name) | |
| JDBCLoginService | back to summary |
|---|---|
| public JDBCLoginService(String name, String config) | |
| JDBCLoginService | back to summary |
|---|---|
| public JDBCLoginService(String name, IdentityService identityService, String config) | |
| closeConnection | back to summary |
|---|---|
| private void closeConnection() Close an existing connection | |
| connectDatabase | back to summary |
|---|---|
| public Connection connectDatabase() throws SQLException Connect to database with parameters setup by loadConfig() | |
| doStart | back to summary |
|---|---|
| protected void doStart() throws Exception Overrides org. Doc from org. Starts the managed lifecycle beans in the order they were added.
| |
| doStop | back to summary |
|---|---|
| protected void doStop() throws Exception Overrides org. Doc from org. Stops the managed lifecycle beans in the reverse order they were added.
| |
| getConfig | back to summary |
|---|---|
| public String getConfig() | |
| loadRoleInfo | back to summary |
|---|---|
| public List Implements abstract org.
| |
| loadUserInfo | back to summary |
|---|---|
| public UserPrincipal loadUserInfo(String username) Implements abstract org.
| |
| setConfig | back to summary |
|---|---|
| public void setConfig(String config) Load JDBC connection configuration from properties file.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int |
| _userKey | back to summary |
|---|---|
| pack-priv final int _userKey | |
| JDBCUserPrincipal | back to summary |
|---|---|
| public JDBCUserPrincipal(String name, Credential credential, int key) | |
| getUserKey | back to summary |
|---|---|
| public int getUserKey() | |