IdentityStore that
stores caller credentials and identity attributes in a relational database,
and make that implementation available as an enabled CDI bean.
The container-provided IdentityStore must support validating UsernamePasswordCredential,
and may support validating other credential types.
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | Returns: Full JNDI name of the data sourceFull JNDI name of the data source that provides access to the data base where the caller identities are stored. |
| public String | Returns: SQL query to retrieve the groupsSQL query to retrieve the groups associated with the caller when authentication succeeds. |
| public Class | Returns: The password hash used to verify plaintext passwords.A |
| public String[] | Returns: The algorithm parameters.Used to specify algorithm-specific parameters. |
| public int | |
| public String | Returns: thepriority Jakarta Expression Language expressionAllow |
| public IdentityStore. | Returns: the type the identity store is used forDetermines what the identity store is used for |
| public String | Returns: theuseFor Jakarta Expression Language expressionAllow |
| callerQuery | back to summary |
|---|---|
| public String callerQuery() SQL query to validate the {caller, password} pair.
Only needed when The name of the caller that is to be authenticated has to be set as the one and only placeholder. The (hashed) password should be in the first column of the result. Example query:
| |
| dataSourceLookup | back to summary |
|---|---|
| public String dataSourceLookup() Full JNDI name of the data source that provides access to the data base where the caller identities are stored.
| |
| groupsQuery | back to summary |
|---|---|
| public String groupsQuery() SQL query to retrieve the groups associated with the caller when
authentication succeeds.
Only needed when The name of the caller that has been authenticated has to be set as the one and only placeholder. The group name should be in the first column of the result. Example query:
| |
| hashAlgorithm | back to summary |
|---|---|
| public Class A
| |
| hashAlgorithmParameters | back to summary |
|---|---|
| public String[] hashAlgorithmParameters() Used to specify algorithm-specific parameters. Parameters are specified as a list of name/value pairs, using the format below: parameterName=parameterValue For example: Algorithm.param1="value" Algorithm.param2=32
This attribute supports immediate Jakarta Expression Language expressions (${} syntax) for both the
| |
| priority | back to summary |
|---|---|
| public int priority() Determines the order in case multiple IdentityStores are found.
| |
| priorityExpression | back to summary |
|---|---|
| public String priorityExpression() Allow
| |
| useFor | back to summary |
|---|---|
| public IdentityStore. Determines what the identity store is used for
| |
| useForExpression | back to summary |
|---|---|
| public String useForExpression() Allow
| |