org.openmdx.security.realm1.cci
Interface AuthenticationContextFilter

All Superinterfaces:
RefFilter_1_0, Serializable
All Known Subinterfaces:
AuthenticationContextFilter
All Known Implementing Classes:
AuthenticationContextFilterImpl, AuthenticationContextFilterImpl

public interface AuthenticationContextFilter
extends RefFilter_1_0

A AuthenticationContextFilter selects a set of instances of class AuthenticationContext 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 forAllRealm(short operator, Collection filterValues)
          Adds a constraint for the attribute realm to the filter.
 void forAllRealm(short operator, Realm[] filterValues)
          Adds a constraint for the attribute realm 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 thereExistsRealm(short operator, Collection filterValues)
          Adds a constraint for the attribute realm to the filter.
 void thereExistsRealm(short operator, Realm[] filterValues)
          Adds a constraint for the attribute realm 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

forAllRealm

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

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

You can set at most one thereExistsRealm or forAllRealm constraint for this attribute.

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

thereExistsRealm

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

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

You can set at most one thereExistsRealm or forAllRealm constraint for this attribute.

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

forAllRealm

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

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

You can set at most one thereExistsRealm or forAllRealm constraint for this attribute.

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

thereExistsRealm

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

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

You can set at most one thereExistsRealm or forAllRealm constraint for this attribute.

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

forAllSubject

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

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the filter condition is met!

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 AuthenticationContext is excluded from the result set unless its value of attribute subject satisfies the given condition.

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the filter condition is not met!

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 AuthenticationContext is excluded from the result set unless its value of attribute subject satisfies the given condition.

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the filter condition is met!

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 AuthenticationContext is excluded from the result set unless its value of attribute subject satisfies the given condition.

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the filter condition is not met!

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.