public interface PasswordPolicyClient extends com.covisint.core.http.service.client.ResourceClient<PasswordPolicy>
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.CheckedFuture<PasswordValidationResponse,com.covisint.core.http.service.core.ServiceException> |
validatePassword(String passwordPolicyId,
String password,
String userId,
EnumSet<Operation> operations,
org.apache.http.protocol.HttpContext httpContext)
Validate a password against a provided policy for an existing user.
|
@Nonnull com.google.common.util.concurrent.CheckedFuture<PasswordValidationResponse,com.covisint.core.http.service.core.ServiceException> validatePassword(@Nonnull@NotEmpty String passwordPolicyId, @Nonnull@NotEmpty String password, @Nullable String userId, @Nonnull@NotEmpty EnumSet<Operation> operations, @Nonnull org.apache.http.protocol.HttpContext httpContext)
passwordPolicyId - id of the password policy to validate the password againstpassword - password to validateuserId - userId of existing user to validate password forhttpContext - the HTTP Context containing session-level dataoperations - Enumset of Operations which define the context of this validation.Copyright © 2015 Covisint. All rights reserved.