public class StaticIdentityValidator extends Object implements IIdentityValidator<StaticIdentitySource>
| Constructor and Description |
|---|
StaticIdentityValidator()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
validate(String username,
String password,
io.apiman.gateway.engine.beans.ServiceRequest request,
io.apiman.gateway.engine.policy.IPolicyContext context,
StaticIdentitySource config,
io.apiman.gateway.engine.async.IAsyncResultHandler<Boolean> handler)
Asynchronously validates a user.
|
public void validate(String username, String password, io.apiman.gateway.engine.beans.ServiceRequest request, io.apiman.gateway.engine.policy.IPolicyContext context, StaticIdentitySource config, io.apiman.gateway.engine.async.IAsyncResultHandler<Boolean> handler)
IIdentityValidatorvalidate in interface IIdentityValidator<StaticIdentitySource>username - the usernamepassword - the passwordrequest - the service requestcontext - the policy contextconfig - the confighandler - the result handlerIIdentityValidator.validate(java.lang.String, java.lang.String, io.apiman.gateway.engine.beans.ServiceRequest, io.apiman.gateway.engine.policy.IPolicyContext, java.lang.Object, io.apiman.gateway.engine.async.IAsyncResultHandler)Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.