org.csapi.jr.se.fw
Class AuthDomain

java.lang.Object
  extended byorg.csapi.jr.se.fw.AuthDomain
All Implemented Interfaces:
java.io.Serializable

public final class AuthDomain
extends java.lang.Object
implements java.io.Serializable

This is Sequence of Data Elements containing all the data necessary to identify a domain: the domain identifier, and a reference to the authentication interface of the domain

See Also:
Serialized Form

Constructor Summary
AuthDomain()
          Creates a new AuthDomain instance.
AuthDomain(DomainID _domainID, CsapiInterface _authInterface)
          Creates a new AuthDomain instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 CsapiInterface getAuthInterface()
          This method returns a authInterface.
 DomainID getDomainID()
          This method returns a domainID.
 int hashCode()
          Returns a hashcode value for the object.
 void setAuthInterface(CsapiInterface authInterface)
          This method sets a authInterface.
 void setDomainID(DomainID domainID)
          This method sets a domainID.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthDomain

public AuthDomain()
Creates a new AuthDomain instance.


AuthDomain

public AuthDomain(DomainID _domainID,
                  CsapiInterface _authInterface)
Creates a new AuthDomain instance.

Parameters:
_domainID - Identifies the domain for authentication. This identifier is assigned to the domain during the initial contractual agreements, and is valid during the lifetime of the contract.
_authInterface - Identifies the authentication interface of the specific entity. This data element has the same lifetime as the domain authentication process, that is in principle a new interface reference can be provided each time a domain intends to access another.
Method Detail

getDomainID

public DomainID getDomainID()
This method returns a domainID.

Returns:
a org.csapi.jr.se.fw.DomainID value

getAuthInterface

public CsapiInterface getAuthInterface()
This method returns a authInterface.

Returns:
a org.csapi.jr.se.CsapiInterface value

setDomainID

public void setDomainID(DomainID domainID)
This method sets a domainID.


setAuthInterface

public void setAuthInterface(CsapiInterface authInterface)
This method sets a authInterface.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.


hashCode

public int hashCode()
Returns a hashcode value for the object.