com.cafesoft.cams.auth
Interface AuthenticationService

All Superinterfaces:
Debuggable, Service

public interface AuthenticationService
extends Service

Defines an interface for a client-side AuthenticationService hosted under a CamsClient.

Since:
11/07/02

Method Summary
 AuthResponse authenticate(AuthRequest authReq)
          Authenticate a subject.
 AuthRequest createAuthRequest()
          Create an empty AuthRequest.
 void destroy(AuthRequest authReq)
          Destroy an AuthRequest.
 void destroy(AuthResponse authRes)
          Destroy an AuthResponse.
 
Methods inherited from interface com.cafesoft.core.service.Service
destroy, getServiceConfig, initialize
 
Methods inherited from interface com.cafesoft.core.util.Debuggable
setDebug
 

Method Detail

authenticate

AuthResponse authenticate(AuthRequest authReq)
                          throws AuthException,
                                 CamsTransportException
Authenticate a subject.

Parameters:
authReq - the authentication request
Returns:
authRes the authentication response
Throws:
AuthException - if an error when executing the authentication.
CamsTransportException
See Also:
AuthRequest, AuthResponse, AuthException

createAuthRequest

AuthRequest createAuthRequest()
Create an empty AuthRequest.

Returns:
an empty AuthRequest.

destroy

void destroy(AuthRequest authReq)
Destroy an AuthRequest.

Parameters:
authReq - the AuthRequest to be destroyed.

destroy

void destroy(AuthResponse authRes)
Destroy an AuthResponse.

Parameters:
authRes - the AuthResponse to be destroyed.


Generated on 10:38:35 AM April 14, 2011, © 1996-2010 Cafésoft LLC. All rights reserved.