org.openmdx.security.realm1.cci
Interface AuthenticationContext

All Superinterfaces:
RefBaseObject, RefFeatured, RefObject, RefObject_1_0
All Known Subinterfaces:
AuthenticationContext
All Known Implementing Classes:
AuthenticationContextImpl, AuthenticationContextImpl

public interface AuthenticationContext
extends RefObject_1_0


Method Summary
 Realm getRealm()
          Retrieves the value for the reference realm.
 Subject getSubject()
          Retrieves the value for the optional reference subject.
 void removeSubject()
          Removes the value for the optional reference subject.
 void setRealm(Realm newValue)
          Sets a new value for the reference realm.
 void setSubject(Subject newValue)
          Sets a new value for the reference subject.
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect
 
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

getRealm

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

Returns:
The non-null value for this reference.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setRealm

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

Parameters:
newValue - The non-null new value for this reference.
Throws:
JmiException - If the value cannot be set for some reason.

getSubject

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

Returns:
The possibly null value for this reference.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setSubject

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

Parameters:
newValue - The non-null new value for this reference.
Throws:
JmiException - If the value cannot be set for some reason.

removeSubject

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

Throws:
JmiException - If the value cannot be removed for some reason.


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