Interface IIdentityValidator<C>
-
- Type Parameters:
C- the config type
- All Known Implementing Classes:
JDBCIdentityValidator,LDAPIdentityValidator,StaticIdentityValidator
public interface IIdentityValidator<C>Interface used to validate an inbound user.- Author:
- eric.wittmann@redhat.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvalidate(String username, String password, ApiRequest request, IPolicyContext context, C config, IAsyncResultHandler<Boolean> handler)Asynchronously validates a user.
-
-
-
Method Detail
-
validate
void validate(String username, String password, ApiRequest request, IPolicyContext context, C config, IAsyncResultHandler<Boolean> handler)
Asynchronously validates a user.- Parameters:
username- the usernamepassword- the passwordrequest- the API requestcontext- the policy contextconfig- the confighandler- the result handler
-
-