org.openmdx.security.authentication1.jmi1
Interface Credential

All Superinterfaces:
org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, Credential, org.openmdx.base.cci2.ExtentCapable, RefBaseObject, RefFeatured, RefObject, org.openmdx.compatibility.view1.cci2.ViewCapable
All Known Subinterfaces:
ChallengeResponse, Passcode, Password, SendPasscode

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

Abstract class Credential


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openmdx.security.authentication1.cci2.Credential
Credential.Identity
 
Method Summary
 void addResetCredential(Credential newValue)
          
 void addResetCredential(int index, Credential newValue)
          
 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 removeResetCredential(int index)
          
<T extends org.openmdx.base.cci2.Void>
T
reset(CredentialResetParams params)
           
 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:SegmentHostsCredential.
 void setSubject(Subject subject)
          Sets a new value for the reference subject.
 
Methods inherited from interface org.openmdx.security.authentication1.cci2.Credential
getId, getResetCredential, reset
 
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
 
Methods inherited from interface org.openmdx.security.realm1.jmi1.Credential
request, validate
 
Methods inherited from interface org.openmdx.security.realm1.cci2.Credential
isLocked, request, setLocked, validate
 

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.

reset

<T extends org.openmdx.base.cci2.Void> T reset(CredentialResetParams params)
                                           throws RefException
Throws:
RefException

addResetCredential

void addResetCredential(int index,
                        Credential newValue)

Parameters:
index - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addResetCredential

void addResetCredential(Credential newValue)

Parameters:
newValue - The element to be appended.

removeResetCredential

void removeResetCredential(int index)


getSubject

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

Specified by:
getSubject in interface Credential
Returns:
The non-null value for this reference.

setSubject

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

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

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:SegmentHostsCredential.

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.