IBM WebSphere Application ServerTM
Release 7

com.ibm.wsspi.security.csiv2
Interface TrustedIDEvaluator


public interface TrustedIDEvaluator

Evaluates whether the received identity (ID) is trusted to assert ID's.


Method Summary
 boolean isTrusted(java.lang.String user)
          Determine if the user is trusted to assert ID's.
 boolean isTrusted(java.lang.String user, java.lang.String password)
          Determine if the user/password is trusted to assert ID's.
 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

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.

IBM WebSphere Application ServerTM
Release 7