com.ibm.wsspi.security.csiv2

Interface TrustedIDEvaluator


  1. public interface TrustedIDEvaluator
Evaluates whether the received identity (ID) is trusted to assert ID's.

Method Summary

Modifier and Type Method and Description
  1. boolean
isTrusted(java.lang.String user)
Determine if the user is trusted to assert ID's.
  1. boolean
isTrusted(java.lang.String user,java.lang.String password)
Determine if the user/password is trusted to assert ID's.
  1. boolean
isTrusted(java.security.cert.X509Certificate[] cert)
Determine if the user associated with the cert chain is trusted to assert ID's.

Method Detail

isTrusted

  1. 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

  1. boolean isTrusted(java.lang.String user,
  2. 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

  1. 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.