JDBCLoginModule
| Modifier and Type | Field and Description |
|---|---|
| private DataSource | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Connection | Returns: the connection for the datasourceImplements abstract org. |
| public void | initialize(Subject
the subject subject, CallbackHandler the callback handler callbackHandler, Map<String, ?> the shared state map sharedState, Map<String, ?> the option map options)Overrides org. Implements javax. |
| dataSource | back to summary |
|---|---|
| private DataSource dataSource | |
| dbJNDIName | back to summary |
|---|---|
| private String dbJNDIName | |
| DataSourceLoginModule | back to summary |
|---|---|
| public DataSourceLoginModule() | |
| getConnection | back to summary |
|---|---|
| public Connection getConnection() throws Exception Implements abstract org. Get a connection from the DataSource
| |
| initialize | back to summary |
|---|---|
| public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) Overrides org. Implements javax. Init LoginModule. Called once by JAAS after new instance created. | |