org.openmdx.security.realm1.cci
Class AuthenticationContextFilterImpl

java.lang.Object
  extended by org.openmdx.base.accessor.jmi.spi.RefFilter_1
      extended by org.openmdx.base.accessor.jmi.spi.RefPredicate_1
          extended by org.openmdx.security.realm1.cci.AuthenticationContextFilterImpl
All Implemented Interfaces:
Serializable, RefFilter_1_0, RefFilter_1_1, AuthenticationContextFilter, AuthenticationContextQuery, AnyTypePredicate

public class AuthenticationContextFilterImpl
extends RefPredicate_1
implements AuthenticationContextFilter, AuthenticationContextQuery

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openmdx.base.accessor.jmi.spi.RefPredicate_1
filter, name, quantor
 
Constructor Summary
AuthenticationContextFilterImpl(RefPackage_1_0 aPackage)
           
AuthenticationContextFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers)
           
AuthenticationContextFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers, RefFilter_1_0 delegateFilter, Short delegateQuantor, String delegateName)
           
 
Method Summary
 void forAllRealm(short operator, Collection values)
          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.
 SubjectQuery forAllSubject()
          Adds a constraint for the feature subject to the predicate.
 void forAllSubject(short operator, Collection values)
          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.
 RealmQuery realm()
          Adds a constraint for the feature realm to the predicate.
 OptionalFeaturePredicate subject()
          Adds a constraint to the predicate for AuthenticationContext testing whether the value of the feature subject is null or not.
 void thereExistsRealm(short operator, Collection values)
          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.
 SubjectQuery thereExistsSubject()
          Adds a constraint for the feature subject to the predicate.
 void thereExistsSubject(short operator, Collection values)
          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 class org.openmdx.base.accessor.jmi.spi.RefPredicate_1
elementOf, elementOf, equalTo, notAnElementOf, notAnElementOf, notEqualTo, refAddValue
 
Methods inherited from class org.openmdx.base.accessor.jmi.spi.RefFilter_1
clear, refAddValue, refAddValue, refAddValue, refAddValue, refAddValue, refAddValue, refGetAttributeSpecifiers, refGetFilterProperties, refGetOrder, refGetOrder, refGetPredicate, refGetPredicate, refGetPredicate, refGetPredicate, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefFilter_1_0
clear, refAddValue, refAddValue, refAddValue, refGetAttributeSpecifiers, refGetFilterProperties
 
Methods inherited from interface org.w3c.cci2.AnyTypePredicate
elementOf, elementOf, equalTo, notAnElementOf, notAnElementOf, notEqualTo
 

Constructor Detail

AuthenticationContextFilterImpl

public AuthenticationContextFilterImpl(RefPackage_1_0 aPackage)

AuthenticationContextFilterImpl

public AuthenticationContextFilterImpl(RefPackage_1_0 aPackage,
                                       FilterProperty[] filterProperties,
                                       AttributeSpecifier[] attributeSpecifiers)

AuthenticationContextFilterImpl

public AuthenticationContextFilterImpl(RefPackage_1_0 aPackage,
                                       FilterProperty[] filterProperties,
                                       AttributeSpecifier[] attributeSpecifiers,
                                       RefFilter_1_0 delegateFilter,
                                       Short delegateQuantor,
                                       String delegateName)
Method Detail

forAllRealm

public void forAllRealm(short operator,
                        Realm[] filterValues)
Description copied from interface: AuthenticationContextFilter
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.

Specified by:
forAllRealm in interface AuthenticationContextFilter
Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute realm to be compared to.
See Also:
FilterOperators

thereExistsRealm

public void thereExistsRealm(short operator,
                             Realm[] filterValues)
Description copied from interface: AuthenticationContextFilter
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.

Specified by:
thereExistsRealm in interface AuthenticationContextFilter
Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute realm to be compared to.
See Also:
FilterOperators

forAllRealm

public void forAllRealm(short operator,
                        Collection values)
Description copied from interface: AuthenticationContextFilter
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.

Specified by:
forAllRealm in interface AuthenticationContextFilter
Parameters:
operator - The operator for this filter.
values - The values you want the attribute realm to be compared to.
See Also:
FilterOperators

thereExistsRealm

public void thereExistsRealm(short operator,
                             Collection values)
Description copied from interface: AuthenticationContextFilter
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.

Specified by:
thereExistsRealm in interface AuthenticationContextFilter
Parameters:
operator - The operator for this filter.
values - The values you want the attribute realm to be compared to.
See Also:
FilterOperators

realm

public RealmQuery realm()
Description copied from interface: AuthenticationContextQuery
Adds a constraint for the feature realm to the predicate. The predicate for AuthenticationContext evaluates true if its value of feature realm satisfies the selected condition.

Specified by:
realm in interface AuthenticationContextQuery

forAllSubject

public void forAllSubject(short operator,
                          Subject[] filterValues)
Description copied from interface: AuthenticationContextFilter
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.

Specified by:
forAllSubject in interface AuthenticationContextFilter
Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute subject to be compared to.
See Also:
FilterOperators

thereExistsSubject

public void thereExistsSubject(short operator,
                               Subject[] filterValues)
Description copied from interface: AuthenticationContextFilter
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.

Specified by:
thereExistsSubject in interface AuthenticationContextFilter
Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute subject to be compared to.
See Also:
FilterOperators

forAllSubject

public void forAllSubject(short operator,
                          Collection values)
Description copied from interface: AuthenticationContextFilter
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.

Specified by:
forAllSubject in interface AuthenticationContextFilter
Parameters:
operator - The operator for this filter.
values - The values you want the attribute subject to be compared to.
See Also:
FilterOperators

thereExistsSubject

public void thereExistsSubject(short operator,
                               Collection values)
Description copied from interface: AuthenticationContextFilter
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.

Specified by:
thereExistsSubject in interface AuthenticationContextFilter
Parameters:
operator - The operator for this filter.
values - The values you want the attribute subject to be compared to.
See Also:
FilterOperators

subject

public OptionalFeaturePredicate subject()
Description copied from interface: AuthenticationContextQuery
Adds a constraint to the predicate for AuthenticationContext testing whether the value of the feature subject is null or not.

Specified by:
subject in interface AuthenticationContextQuery

thereExistsSubject

public SubjectQuery thereExistsSubject()
Description copied from interface: AuthenticationContextQuery
Adds a constraint for the feature subject to the predicate. The predicate for AuthenticationContext evaluates true if its value of feature subject satisfies the selected condition.

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the predicate evaluates to false!

Specified by:
thereExistsSubject in interface AuthenticationContextQuery

forAllSubject

public SubjectQuery forAllSubject()
Description copied from interface: AuthenticationContextQuery
Adds a constraint for the feature subject to the predicate. The predicate for AuthenticationContext evaluates true if its value of feature subject satisfies the selected condition.

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the predicate evaluates to true!

Specified by:
forAllSubject in interface AuthenticationContextQuery


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