com.ibm.wsspi.security.csiv2
Interface TrustedIDEvaluator
- public interface TrustedIDEvaluator
Method Summary
Modifier and Type | Method and Description |
---|---|
|
isTrusted(java.lang.String user)
Determine if the user is trusted to assert ID's.
|
|
isTrusted(java.lang.String user,java.lang.String password)
Determine if the user/password is trusted to assert ID's.
|
|
isTrusted(java.security.cert.X509Certificate[] cert)
Determine if the user associated with the cert chain is trusted
to assert ID's.
|
Method Detail
isTrusted
- boolean isTrusted(java.lang.String user)
Determine if the user is trusted to assert ID's.
This is typically the user information from an LTPA token.
The token keys are used to establish trust in the identity.
Parameters:
user
- the userID to perform the authorization check for. Returns:
true
if the ID is trusted, false
otherwise. isTrusted
- boolean isTrusted(java.lang.String user,
- java.lang.String password)
Determine if the user/password is trusted to assert ID's.
This is typically either the server identity or an alternate identity
which is specified by the sending server and should be know by
this trust mechanism.
Parameters:
user
- the userID to perform the authorization check for password
- the password for the user. Returns:
true
if the ID is trusted, false
otherwise. isTrusted
- boolean isTrusted(java.security.cert.X509Certificate[] cert)
Determine if the user associated with the cert chain is trusted
to assert ID's.
This certificate is typically the sending server's identity
which must be trusted to assert IDs.
Parameters:
cert
- the cert chain associated with the user Returns:
true
if the ID is trusted, false
otherwise.