Interface AuthenticationProcessProxyManager
- All Superinterfaces:
AuthenticationProcessProfile, AutoCloseable, Closeable, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable
public interface AuthenticationProcessProxyManager
extends OsidProxyManager, AuthenticationProcessProfile
The authentication process proxy manager provides access to
authentication sessions and provides interoperability tests for various
aspects of this service. Methods in this manager support the passing of a
Proxy object. The sessions included in this manager are:
-
AuthenticationAcquisitionSession: session to acquire credentials from a user and serialize them for transport to a remote peer for authentication -
AuthenticationValidationSession: session to receive and validate authentication credentials from a remote peer wishing to authenticate -
TrustLookupSession: a session to look up authentication circles of trust -
CircleOfTrustSession: a session to examine agent circles of trust
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with theAuthenticationAcquisitionSessionusing the suppliedAuthentication.Gets theOsidSessionassociated with theAuthenticationValidationservice using the suppliedAuthentication.getCircleOfTrustSession(Proxy proxy) Gets theOsidSessionassociated with the trust circle service.getCircleOfTrustSessionForAgency(Id agencyId, Proxy proxy) Gets theOsidSessionassociated with the trust circle service for the given agency.getTrustLookupSession(Proxy proxy) Gets theOsidSessionassociated with the trust lookup service.getTrustLookupSessionForAgency(Id agencyId, Proxy proxy) Gets theOsidSessionassociated with the trust lookup service for the given agency.Methods inherited from interface AuthenticationProcessProfile
getAuthenticationInputRecordTypes, getAuthenticationRecordTypes, getChallengeRecordTypes, getCredentialTypes, getTrustTypes, supportsAuthenticationAcquisition, supportsAuthenticationInputRecordType, supportsAuthenticationRecordType, supportsAuthenticationValidation, supportsChallenge, supportsChallengeRecordType, supportsCircleOfTrust, supportsCredentialExport, supportsCredentialType, supportsTrustLookup, supportsTrustTypeModifier and TypeMethodDescriptionGets the supported authentication input record types.Gets the supported authentication record types.Gets the supported challenge types.Gets the supported credential types.Gets the supported trust types.booleanTests if authentication acquisition is supported.booleansupportsAuthenticationInputRecordType(Type authenticationInputRecordType) Tests if the given authentication input record type is supported.booleansupportsAuthenticationRecordType(Type authenticationRecordType) Tests if the given authentication record type is supported.booleanTests if authentication validation is supported.booleanTests if this authentication service supports a challenge-response mechanism where credential validation service must implement a means to generate challenge data.booleansupportsChallengeRecordType(Type challengeRecordType) Tests if the given challenge data type is supported.booleanTests if a session to examine agent and trust relationships is supported.booleanTests ifAuthenticationobjects can export serialzied credentials for transport.booleansupportsCredentialType(Type credentialType) Tests if the given credential type is supported.booleanTests if a trust look up session is supported.booleansupportsTrustType(Type trustType) Tests if the given trust type is supported.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId, Proxy proxy) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime, Proxy proxy) Rolls back this service to a point in time.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
Method Details
-
getAuthenticationAcquisitionSession
AuthenticationAcquisitionSession getAuthenticationAcquisitionSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with theAuthenticationAcquisitionSessionusing the suppliedAuthentication.- Parameters:
proxy- a proxy- Returns:
- an
AuthenticationAcquisitionSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAuthenticationAcquisition()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAcquisition()} is {@code true} .
-
getAuthenticationValidationSession
AuthenticationValidationSession getAuthenticationValidationSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with theAuthenticationValidationservice using the suppliedAuthentication.- Parameters:
proxy- a proxy- Returns:
- an
AuthenticationValidationSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAuthenticationValidation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsValidation()} is {@code true} .
-
getTrustLookupSession
Gets theOsidSessionassociated with the trust lookup service.- Parameters:
proxy- a proxy- Returns:
- a
TrustLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsTrustLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsTrustLookup()} is {@code true} .
-
getTrustLookupSessionForAgency
TrustLookupSession getTrustLookupSessionForAgency(Id agencyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the trust lookup service for the given agency.- Parameters:
agencyId- theIdof the agencyproxy- a proxy- Returns:
- a
TrustLookupSession - Throws:
NotFoundException-agencyIdnot foundNullArgumentException-agencyIdorproxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsTrustLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsTrustLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getCircleOfTrustSession
Gets theOsidSessionassociated with the trust circle service.- Parameters:
proxy- a proxy- Returns:
- a
CircleOfTrustSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCircleOfTrust()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCircleOfTrust()} is {@code true} .
-
getCircleOfTrustSessionForAgency
CircleOfTrustSession getCircleOfTrustSessionForAgency(Id agencyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the trust circle service for the given agency.- Parameters:
agencyId- theIdof the agencyproxy- a proxy- Returns:
- a
CircleOfTrustSession - Throws:
NotFoundException-agencyIdnot foundNullArgumentException-agencyIdorproxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsCiirleOfTrust()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCircleOfTrust()} and {@code supportsVisibleFederation()} are {@code true} .
-