public interface AuthenticationModule extends Module
Title: Service Event Fabric Core
Description: Defines an Authentication Module.
FabricAuthenticationModule
.
Copyright: Copyright (c) 2010
Company: StreamScape Technologies
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(AuthenticationType type,
java.lang.String userName,
User user,
java.lang.String credentials,
java.util.Map parameters,
DigestCalculator calculator)
Authenticates the specified user with the specified credentials and parameters.
|
destroy, init, setParameter
boolean authenticate(AuthenticationType type, java.lang.String userName, User user, java.lang.String credentials, java.util.Map parameters, DigestCalculator calculator) throws SecurityManagerException
DigestCalculator
and parameters is used for calculation of one-way digest
which will be compared with the credentials. This way is only applied to DIGEST
type.type
- the type of authentication.user
- the user to be authenticated.credentials
- the external credentials.parameters
- the authentication parameter.calculator
- the digest calculator.true
if the user is authenticated successfully, false
otherwise.SecurityManagerException
- if the specified authentication type is not supported or
if some error occurs during this operation.Copyright © 2015-2024 StreamScape Technologies. All rights reserved.