com.cafesoft.core.message
Interface ConnectionAuthenticator
- All Known Implementing Classes:
- StandardConnectionAuthenticator
- public interface ConnectionAuthenticator
Defines an API that allows for a pluggable authentication mechanism for
authenticating connections for usage
- Since:
- 4/8/02
authenticate
public AuthStatus authenticate(String type,
Object principal,
Object credential,
Map authParams,
ConnectionMetaData metaData)
throws ConnectionAuthenticationException
- Authenticate a Connection.
- Parameters:
type - the type of authenticationprincipal - the principal of the connectioncredential - the credential of the connectionauthParams - contains aditional information for authenticationmetaData - Meta-data about the connection attempting to authenticate
- Returns:
- an AuthStatus object that contains the result of the the
authentication
- Throws:
ConnectionAuthenticationException - thrown if there is an error
trying to authenticate the connection
Generated on 10:40:31 AM September 10, 2003, © 1996-2003 Cafésoft LLC. All rights reserved.