|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.edustructures.sifworks.Element
com.edustructures.sifworks.SIFElement
com.edustructures.sifworks.SIFDataObject
com.edustructures.sifworks.infra.Authentication
public class Authentication
Passwords in the Authentication object can be stored in one of three ways, all base64 encoded: as clear text, as one-way hashes, or as encrypted text resulting from the application of a symmetric or asymmetric cipher. Clear text passwords are not retrievable from values stored as one-way hashes-these hashed values can only be used to verify passwords input by a user. Clear text passwords can be retrieved from encrypted text, if the receiving system has the appropriate key to decrypt the encrypted text. This specification does not define the exchange of keys for symmetric and asymmetric cryptographic algorithms, but provides the KeyName attribute to associate a key with an encrypted password. It is envisioned that when systems exchange keys in a manner outside this specification, a key name is sufficient to retrieve a key for input to the appropriate decryption algorithm.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
Authentication()
Constructor |
|
Authentication(java.lang.String refId,
java.lang.String sifRefId,
AuthSifRefIdType sifRefObject)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
AuthenticationInfo |
getAuthenticationInfo()
Gets the value of the <AuthenticationInfo> element. |
java.lang.String |
getKey()
Gets the key of this object |
ElementDef[] |
getKeyFields()
Gets the metadata fields that make up the key of this object |
java.lang.String |
getRefId()
Gets the value of the RefId attribute. |
java.lang.String |
getSIF_RefId()
Gets the value of the SIF_RefId attribute. |
java.lang.String |
getSIF_RefObject()
Gets the value of the SIF_RefObject attribute. |
void |
removeAuthenticationInfo()
Removes the AuthenticationInfo child element previously created by calling setAuthenticationInfo |
void |
setAuthenticationInfo(AuthenticationInfo value)
Sets the value of the <AuthenticationInfo> element. |
void |
setAuthenticationInfo(AuthSystem system)
Sets the value of the <AuthenticationInfo> child element. |
void |
setRefId(java.lang.String value)
Sets the value of the RefId attribute. |
void |
setSIF_RefId(java.lang.String value)
Sets the value of the SIF_RefId attribute. |
void |
setSIF_RefObject(AuthSifRefIdType value)
Sets the value of the SIF_RefObject attribute. |
void |
setSIF_RefObject(java.lang.String value)
Sets the value of the SIF_RefObject attribute as a String. |
| Methods inherited from class com.edustructures.sifworks.SIFDataObject |
|---|
addSIFExtendedElement, clone, getElementOrAttribute, getObjectTag, getObjectType, getSIFExtendedElement, getSIFExtendedElements, getSIFExtendedElementsContainer, getSIFMetadata, getSIFVersion, setElementOrAttribute, setElementOrAttribute, setElementOrAttribute, setSIFExtendedElements, setSIFExtendedElementsContainer, setSIFMetadata, setSIFVersion, toXML |
| Methods inherited from class com.edustructures.sifworks.SIFElement |
|---|
addChild, addChild, compareGraphTo, create, effectiveSIFVersion, getChild, getChild, getChild, getChild, getChild, getChildCount, getChildList, getChildList, getChildList, getChildren, getChildren, getContent, getContent, getField, getField, getFieldCount, getFields, getFieldValue, getSIFValue, getTextValue, getXmlId, hasTextValue, removeChild, removeChild, removeChild, removeChild, restoreImplementationDef, setChanged, setChildren, setEmpty, setField, setField, setField, setField, setSIFValue, setTextValue, setXmlId, tag |
| Methods inherited from class com.edustructures.sifworks.Element |
|---|
compareTo, getElementDef, getParent, getRoot, isChanged, isDoNotEncode, isEmpty, setChanged, setDoNotEncode, setElementDef, setEmpty, setParent, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Authentication()
public Authentication(java.lang.String refId,
java.lang.String sifRefId,
AuthSifRefIdType sifRefObject)
refId - The SIF RefId that uniquely identifies this authentication object.sifRefId - The SIF RefId of a student or staff membersifRefObject - The type of SIF object that the SIF_RefId attribute identifies.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getRefId()
RefId attribute.
The SIF specification defines the meaning of this attribute as: "The SIF RefId that uniquely identifies this authentication object."
getRefId in class SIFDataObjectRefId attribute of this object.public void setRefId(java.lang.String value)
RefId attribute.
The SIF specification defines the meaning of this attribute as: "The SIF RefId that uniquely identifies this authentication object."
value - A String objectpublic java.lang.String getSIF_RefId()
SIF_RefId attribute.
The SIF specification defines the meaning of this attribute as: "The SIF RefId of a student or staff member"
This attribute is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering attributes of this kind.
| Version | Tag |
| 1.5r1 | "SifRefId" |
| SIF2.0 | "SIF_RefId" |
SIF_RefId attribute of this object.public void setSIF_RefId(java.lang.String value)
SIF_RefId attribute.
The SIF specification defines the meaning of this attribute as: "The SIF RefId of a student or staff member"
This attribute is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering attributes of this kind.
| Version | Tag |
| 1.5r1 | "SifRefId" |
| SIF2.0 | "SIF_RefId" |
value - A String objectpublic java.lang.String getSIF_RefObject()
SIF_RefObject attribute.
The SIF specification defines the meaning of this attribute as: "The type of SIF object that the SIF_RefId attribute identifies."
This attribute is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering attributes of this kind.
| Version | Tag |
| 1.5r1 | "SifRefIdType" |
| SIF2.0 | "SIF_RefObject" |
SIF_RefObject attribute of this object.public void setSIF_RefObject(AuthSifRefIdType value)
SIF_RefObject attribute.
The SIF specification defines the meaning of this attribute as: "The type of SIF object that the SIF_RefId attribute identifies."
This attribute is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering attributes of this kind.
| Version | Tag |
| 1.5r1 | "SifRefIdType" |
| SIF2.0 | "SIF_RefObject" |
value - A constant defined by the AuthSifRefIdType classpublic void setSIF_RefObject(java.lang.String value)
SIF_RefObject attribute as a String.
The SIF specification defines the meaning of this attribute as: "The type of SIF object that the SIF_RefId attribute identifies."
This attribute is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering attributes of this kind.
| Version | Tag |
| 1.5r1 | "SifRefIdType" |
| SIF2.0 | "SIF_RefObject" |
value - The value as a Stringpublic void setAuthenticationInfo(AuthenticationInfo value)
<AuthenticationInfo> element.
The SIF specification defines the meaning of this element as: "The authentication information for one system."
value - A AuthenticationInfo objectpublic void setAuthenticationInfo(AuthSystem system)
<AuthenticationInfo> child element.
This form of setAuthenticationInfo is provided as a convenience method
that is functionally equivalent to the version of setAuthenticationInfo
that accepts a single AuthenticationInfo object.
system - An identifying string for the system that supports this authentication information.public AuthenticationInfo getAuthenticationInfo()
<AuthenticationInfo> element.
The SIF specification defines the meaning of this element as: "The authentication information for one system."
AuthenticationInfo objectpublic void removeAuthenticationInfo()
AuthenticationInfo child element previously created by calling setAuthenticationInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||