|
Project Aristotle - ArisID Attribute Services | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICompareInteraction
Method Summary | |
---|---|
boolean |
doCompare(IPrincipalIdentifier subjectIdentifierKey,
java.util.List<IAttributeValue> attrFilterVals,
javax.security.auth.Subject user)
The compareIdentity method is used to test a set of PredicateDef conditions (declared in the Interaction) against a subject user and return a boolean response. |
boolean |
isCompare()
|
Methods inherited from interface org.openliberty.arisid.IInteraction |
---|
appendNode, getAttributeDef, getAttributeIds, getAttributePolicyDef, getAttributeRef, getAttributeRefs, getAttributeService, getDescription, getEntityName, getFilter, getInteractionPolicyDef, getNameId, getOperationType, getPredicateDef, getPredicateIds, getPredicatePolicyDef, getPredicateRef, getPredicateRefs, getRoleDef, getRoleIds, getRolePolicyDef, getRoleRef, getRoleRefs, getTransactionPolicy, isAdd, isDelete, isFind, isModify, isRead, isSearch |
Method Detail |
---|
boolean isCompare()
isCompare
in interface IInteraction
boolean doCompare(IPrincipalIdentifier subjectIdentifierKey, java.util.List<IAttributeValue> attrFilterVals, javax.security.auth.Subject user) throws IGFException
It is anticipated that this method is the preferred method of querying since it reduces information actually transferred from federated attribute sources.
subjectIdentifierKey
- the unique subject to be comparedattrFilterVals
- An array of AIAttributeValue
or IFilterValue
objects that specify the comparison values for any AttrFilter
objects contained in the declared filter for the transaction.
The number of values specified must correspond exactly to the
number specified in the declared filter. Use
Filter.getCompareAttrValues()
to obtain the values
that need to be set. Note: Dynamic policy constraints may also
be specified by adding them to specific IAttributeValue
values.user
- the credential context performing the compare or null if the
transaction is to be done using the application credential
context alone.
IGFException
IAttrSvcStack.doCompare(ICompareInteraction, IPrincipalIdentifier,
List, Subject)
|
OpenLiberty.org - Licensed under Apache APL 2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |