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

public 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

public AuthRequest createAuthRequest()
Create an empty AuthRequest.

Returns:
an empty AuthRequest.

destroy

public void destroy(AuthRequest authReq)
Destroy an AuthRequest.

Parameters:
authReq - the AuthRequest to be destroyed.

destroy

public void destroy(AuthResponse authRes)
Destroy an AuthResponse.

Parameters:
authRes - the AuthResponse to be destroyed.


Generated on 8:41:50 AM June 06, 2005, © 1996-2005 Cafésoft LLC. All rights reserved.