org.openmdx.security.authentication1.jmi1
Interface AuthenticationContext

All Superinterfaces:
AuthenticationContext, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, RefBaseObject, RefFeatured, RefObject, org.openmdx.compatibility.view1.cci2.ViewCapable

public interface AuthenticationContext
extends AuthenticationContext, org.openmdx.base.jmi1.BasicObject, AuthenticationContext

Class AuthenticationContext


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openmdx.security.authentication1.cci2.AuthenticationContext
AuthenticationContext.Identity
 
Method Summary
 Realm getRealm()
          Retrieves the value for the reference realm.
 Subject getSubject()
          Retrieves the value for the reference subject.
<T extends org.openmdx.compatibility.view1.cci2.View>
List<T>
getView(org.openmdx.compatibility.view1.cci2.ViewQuery query)
          Retrieves the value for the reference view for the specified query.
 void removeSubject()
          Removes the value for the optional reference subject.
 void setRealm(Realm realm)
          Sets a new value for the reference realm.
 void setSegment(Segment segment)
          Sets a new value for the reference segment.
 void setSegment(Segment segment, boolean idIsPersistent, String id)
          Set the object's composite association org:openmdx:security:authentication1:SegmentHostsAuthenticationContext.
 void setSubject(Subject subject)
          Sets a new value for the reference subject.
 
Methods inherited from interface org.openmdx.security.authentication1.cci2.AuthenticationContext
getCompletion, setCompletion
 
Methods inherited from interface org.openmdx.base.jmi1.BasicObject
getCreatedBy, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getModifiedAt
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

getView

<T extends org.openmdx.compatibility.view1.cci2.View> List<T> getView(org.openmdx.compatibility.view1.cci2.ViewQuery query)
Retrieves the value for the reference view for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getRealm

Realm getRealm()
Retrieves the value for the reference realm.

Specified by:
getRealm in interface AuthenticationContext
Returns:
The non-null value for this reference.

setRealm

void setRealm(Realm realm)
Sets a new value for the reference realm.

Specified by:
setRealm in interface AuthenticationContext
Parameters:
realm - The non-null new value for this reference.

getSubject

Subject getSubject()
Retrieves the value for the reference subject.

Specified by:
getSubject in interface AuthenticationContext
Returns:
The – possibly null – value for this reference.

setSubject

void setSubject(Subject subject)
Sets a new value for the reference subject.

Specified by:
setSubject in interface AuthenticationContext
Parameters:
subject - The non-null new value for this reference.

removeSubject

void removeSubject()
Removes the value for the optional reference subject.


setSegment

void setSegment(Segment segment)
Sets a new value for the reference segment.

Parameters:
segment - The non-null new value for this reference.

setSegment

void setSegment(Segment segment,
                boolean idIsPersistent,
                String id)
Set the object's composite association org:openmdx:security:authentication1:SegmentHostsAuthenticationContext.

Parameters:
segment - The non-null new value for this object's composite owner.
idIsPersistent - Defines whether the id is persistent.
id - The non-null new value for this object's qualifier.


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