public final class PasswordPolicyClientImpl extends com.covisint.core.http.service.client.BaseResourceClient<PasswordPolicy> implements PasswordPolicyClient
PasswordPolicy resources.| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.CheckedFuture<PasswordPolicy,com.covisint.core.http.service.core.ServiceException> |
persist(PasswordPolicy resource,
org.apache.http.protocol.HttpContext httpContext) |
void |
setValidateTemplate(com.damnhandy.uri.template.UriTemplate newValidateTemplate)
Sets the URI template for the password validation endpoint.
|
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.
|
add, buildSearchKey, delete, doGet, execute, executeWithBody, executeWithBody, executeWithPrecondition, get, get, getEndpointWithQueryParams, getLocalCache, search, searchpublic void setValidateTemplate(@Nonnull
com.damnhandy.uri.template.UriTemplate newValidateTemplate)
newValidateTemplate - The template to set.@Nonnull public 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)
validatePassword in interface PasswordPolicyClientpasswordPolicyId - id of the password policy to validate the password againstpassword - password to validateuserId - userId of existing user to validate password foroperations - Enumset of Operations which define the context of this validation.httpContext - the HTTP Context containing session-level datapublic com.google.common.util.concurrent.CheckedFuture<PasswordPolicy,com.covisint.core.http.service.core.ServiceException> persist(PasswordPolicy resource, org.apache.http.protocol.HttpContext httpContext)
persist in interface com.covisint.core.http.service.client.ResourceClient<PasswordPolicy>persist in class com.covisint.core.http.service.client.BaseResourceClient<PasswordPolicy>Copyright © 2015 Covisint. All rights reserved.