org.openmdx.security.realm1.cci
Interface CredentialFilter

All Superinterfaces:
RefFilter_1_0, Serializable
All Known Subinterfaces:
ChallengeResponseFilter, CredentialFilter, PasscodeFilter, PasswordFilter, SendPasscodeFilter
All Known Implementing Classes:
ChallengeResponseFilterImpl, CredentialFilterImpl, CredentialFilterImpl, PasscodeFilterImpl, PasswordFilterImpl, SendPasscodeFilterImpl

public interface CredentialFilter
extends RefFilter_1_0

A CredentialFilter selects a set of instances of class Credential based on conditions to be met by their attributes. For each attribute there can be set at most one constraint using either its thereExists or forAll clause. An instance must meet all constraints to be member of this set.


Method Summary
 void forAllLocked(short operator, boolean[] filterValues)
          Adds a constraint for the attribute locked to the filter.
 void forAllLocked(short operator, Collection filterValues)
          Adds a constraint for the attribute locked to the filter.
 void forAllSubject(short operator, Collection filterValues)
          Adds a constraint for the attribute subject to the filter.
 void forAllSubject(short operator, Subject[] filterValues)
          Adds a constraint for the attribute subject to the filter.
 void orderByLocked(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 void thereExistsLocked(short operator, boolean[] filterValues)
          Adds a constraint for the attribute locked to the filter.
 void thereExistsLocked(short operator, Collection filterValues)
          Adds a constraint for the attribute locked to the filter.
 void thereExistsSubject(short operator, Collection filterValues)
          Adds a constraint for the attribute subject to the filter.
 void thereExistsSubject(short operator, Subject[] filterValues)
          Adds a constraint for the attribute subject to the filter.
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefFilter_1_0
clear, refAddValue, refAddValue, refAddValue, refGetAttributeSpecifiers, refGetFilterProperties
 

Method Detail

forAllLocked

void forAllLocked(short operator,
                  boolean[] filterValues)
Adds a constraint for the attribute locked to the filter. An instance of class Credential is excluded from the result set unless its value of attribute locked satisfies the given condition.

Since the multiplicity for this attribute is 1..1, there is no difference between the filter methods forAllLocked and thereExistsLocked for the same arguments.

You can set at most one thereExistsLocked or forAllLocked constraint for this attribute.

Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute locked to be compared to.
See Also:
FilterOperators

thereExistsLocked

void thereExistsLocked(short operator,
                       boolean[] filterValues)
Adds a constraint for the attribute locked to the filter. An instance of class Credential is excluded from the result set unless its value of attribute locked satisfies the given condition.

Since the multiplicity for this attribute is 1..1, there is no difference between the filter methods forAllLocked and thereExistsLocked for the same arguments.

You can set at most one thereExistsLocked or forAllLocked constraint for this attribute.

Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute locked to be compared to.
See Also:
FilterOperators

forAllLocked

void forAllLocked(short operator,
                  Collection filterValues)
Adds a constraint for the attribute locked to the filter. An instance of class Credential is excluded from the result set unless its value of attribute locked satisfies the given condition.

Since the multiplicity for this attribute is 1..1, there is no difference between the filter methods forAllLocked and thereExistsLocked for the same arguments.

You can set at most one thereExistsLocked or forAllLocked constraint for this attribute.

Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute locked to be compared to.
See Also:
FilterOperators

thereExistsLocked

void thereExistsLocked(short operator,
                       Collection filterValues)
Adds a constraint for the attribute locked to the filter. An instance of class Credential is excluded from the result set unless its value of attribute locked satisfies the given condition.

Since the multiplicity for this attribute is 1..1, there is no difference between the filter methods forAllLocked and thereExistsLocked for the same arguments.

You can set at most one thereExistsLocked or forAllLocked constraint for this attribute.

Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute locked to be compared to.
See Also:
FilterOperators

orderByLocked

void orderByLocked(short order)
Specifies the sort order of all the instances that match the filter criteria.

Parameters:
order - The sort order for this filter.
See Also:
Directions

forAllSubject

void forAllSubject(short operator,
                   Subject[] filterValues)
Adds a constraint for the attribute subject to the filter. An instance of class Credential is excluded from the result set unless its value of attribute subject satisfies the given condition.

Since the multiplicity for this attribute is 1..1, there is no difference between the filter methods forAllSubject and thereExistsSubject for the same arguments.

You can set at most one thereExistsSubject or forAllSubject constraint for this attribute.

Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute subject to be compared to.
See Also:
FilterOperators

thereExistsSubject

void thereExistsSubject(short operator,
                        Subject[] filterValues)
Adds a constraint for the attribute subject to the filter. An instance of class Credential is excluded from the result set unless its value of attribute subject satisfies the given condition.

Since the multiplicity for this attribute is 1..1, there is no difference between the filter methods forAllSubject and thereExistsSubject for the same arguments.

You can set at most one thereExistsSubject or forAllSubject constraint for this attribute.

Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute subject to be compared to.
See Also:
FilterOperators

forAllSubject

void forAllSubject(short operator,
                   Collection filterValues)
Adds a constraint for the attribute subject to the filter. An instance of class Credential is excluded from the result set unless its value of attribute subject satisfies the given condition.

Since the multiplicity for this attribute is 1..1, there is no difference between the filter methods forAllSubject and thereExistsSubject for the same arguments.

You can set at most one thereExistsSubject or forAllSubject constraint for this attribute.

Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute subject to be compared to.
See Also:
FilterOperators

thereExistsSubject

void thereExistsSubject(short operator,
                        Collection filterValues)
Adds a constraint for the attribute subject to the filter. An instance of class Credential is excluded from the result set unless its value of attribute subject satisfies the given condition.

Since the multiplicity for this attribute is 1..1, there is no difference between the filter methods forAllSubject and thereExistsSubject for the same arguments.

You can set at most one thereExistsSubject or forAllSubject constraint for this attribute.

Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute subject to be compared to.
See Also:
FilterOperators


This software is published under the BSD license. Copyright © 2003-2008, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.