OSID Logo
OSID Specifications
authentication process package
Version 3.1.0
Interfaceosid.authentication.process.AuthenticationValidationSession
Implementsosid.OsidSession
Used Byosid.authentication.process.AuthenticationProcessManager
osid.authentication.process.AuthenticationProcessProxyManager
Description

This session is the remote end of a transport link from the acquisition session and validates authentication credentials sent to it. The basic method, authenticate() accepts a credential, validates it and returns an Authentication containing the identity of the authenticated user.

This OSID does not define any root interface for credentials and challenge data. The object representing these are completely defined within their Type ,providing flexibility in adapting to a variety of application environments.

MethodgetAuthenticationInput
Description

Gets an interface for authentication input.

Returnosid.authentication.process.AuthenticationInput authentication input
Compliancemandatory This method is must be implemented.
Methodauthenticate
Description

Validates and returns the authentication credential from the given data.

Parametersosid.authentication.process.AuthenticationInputinput the authentication input to be validated
Returnosid.authentication.process.Authentication the resulting authentication
ErrorsNULL_ARGUMENT input is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED input is not of this service
Compliancemandatory This method is must be implemented.
MethodgetChallengeData
Description

Gets data that can be used for a challenge to the peer attempting authentication.

Parametersosid.authentication.process.AuthenticationInputinput authentication input
Returnosid.authentication.process.Challenge the acquired challenge data
ErrorsNULL_ARGUMENT input is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNIMPLEMENTED challenge response not available
UNSUPPORTED input is not of this service
Complianceoptional This method must be implemented if AuthenticationProcessManager.supportsChallenge() is true.