com.netscape.certsrv.usrgrp
Interface IIdEvaluator

All Known Subinterfaces:
IUGSubsystem, IUsrGrp

public interface IIdEvaluator

A class represents an ID evaluator.

Version:
$Revision: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Method Summary
 boolean evaluate(java.lang.String type, IUser id, java.lang.String op, java.lang.String value)
          Evaluates if the given value satisfies the ID evaluation: is a user a member of a group
 

Method Detail

evaluate

boolean evaluate(java.lang.String type,
                 IUser id,
                 java.lang.String op,
                 java.lang.String value)
Evaluates if the given value satisfies the ID evaluation: is a user a member of a group

Parameters:
type - the type of evaluator, in this case, it is group
id - the user id for the given user
op - operator, only "=" and "!=" are supported
value - the name of the group, eg, "Certificate Manager Agents"
Returns:
true if the given user is a member of the group