Interface Trust
- All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject
Trust represents the level of confidence in an authentication.
An Authentication OSID Provider may issue different Agents based
on the authentication mechanism. Trust is a grouping of
Agent "types" that can be inferred as equivalent from an authorization
point of view.
The relationship among Agents and Trust is not
explicity managed but understood by an Authentication OSID Provider when
orchestration to an Authorization OSID Provider is desired.
-
Method Summary
Modifier and TypeMethodDescriptiongetTrustRecord(Type trustRecordType) Gets the trust record corresponding to the given trust recordType.Methods inherited from interface Browsable
getProperties, getPropertiesByRecordTypeModifier and TypeMethodDescriptionGets a list of properties.getPropertiesByRecordType(Type recordType) Gets a list of properties corresponding to the specified record type.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidObject
getDescription, getDisplayName, getGenusType, isOfGenusTypeModifier and TypeMethodDescriptionGets the description associated with this instance of this OSID object.Gets the preferred display name associated with this instance of this OSID object appropriate for display to the user.Gets the genus type of this object.booleanisOfGenusType(Type genusType) Tests if this object is of the given genusType.
-
Method Details
-
getTrustRecord
TrustRecord getTrustRecord(Type trustRecordType) throws OperationFailedException, PermissionDeniedException Gets the trust record corresponding to the given trust recordType. This method is used to retrieve an object implementing the requested. ThetrustRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(trustRecordType)istrue.- Parameters:
trustRecordType- the type of trust record to retrieve- Returns:
- the trust record
- Throws:
NullArgumentException-trustRecordTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure occurredUnsupportedException-hasRecordType(trustRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-