public class LoginBasedVerifier extends Object implements org.restlet.security.Verifier
Modifier and Type | Field and Description |
---|---|
private IAuthenticationDBHelper |
authenticationService
Authentication access instance.
|
private static org.apache.logging.log4j.Logger |
LOG
Logger.
|
Constructor and Description |
---|
LoginBasedVerifier()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private int |
processAuthentication(org.restlet.Request request,
org.restlet.data.ChallengeResponse challResponse)
Process Authentication.
|
int |
verify(org.restlet.Request request,
org.restlet.Response response)
Verifies the user name and his password.
|
private static final org.apache.logging.log4j.Logger LOG
private final IAuthenticationDBHelper authenticationService
public int verify(org.restlet.Request request, org.restlet.Response response)
verify
in interface org.restlet.security.Verifier
request
- requestresponse
- responseprivate int processAuthentication(org.restlet.Request request, org.restlet.data.ChallengeResponse challResponse)
request
- requestchallResponse
- authentication objectCopyright © 2017–2020 CNES. All rights reserved.