public final class PasswordClientImpl extends com.covisint.core.http.service.client.BaseResourceClient<Password> implements PasswordClient
Password resources.| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> |
add(Password resource,
org.apache.http.protocol.HttpContext httpContext) |
com.google.common.util.concurrent.CheckedFuture<PasswordAuthenticationResponse,com.covisint.core.http.service.core.ServiceException> |
authentication(PasswordAuthenticationRequest request,
org.apache.http.protocol.HttpContext httpContext)
Authenticates a subject by their password.
|
com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> |
batchUpdateAuthnPolicyIds(PasswordBatchUpdateRequest request,
org.apache.http.protocol.HttpContext httpContext)
Will batch update authentication policy ids for the subjects.
|
com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> |
batchUpdatePasswordPolicyIds(PasswordBatchUpdateRequest request,
org.apache.http.protocol.HttpContext httpContext)
Will batch update password policy ids for the subjects.
|
com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> |
delete(String id,
org.apache.http.protocol.HttpContext httpContext) |
com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> |
expirePassword(String subject,
org.apache.http.protocol.HttpContext httpContext)
Expires password of given subject.
|
com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> |
getPassword(String userId,
org.apache.http.protocol.HttpContext httpContext)
Retrieve a password via the owning user id.
|
com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> |
lockPassword(String subject,
org.apache.http.protocol.HttpContext httpContext)
Locks password of given subject for a specified period of time.
|
com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> |
lockPassword(String subject,
long lockDuration,
TimeUnit durationUnit,
org.apache.http.protocol.HttpContext httpContext)
Locks password of given subject for a specified period of time.
|
com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> |
persist(Password resource,
org.apache.http.protocol.HttpContext httpContext) |
com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> |
unlockPassword(String subject,
org.apache.http.protocol.HttpContext httpContext)
Unlocks password of given subject.
|
com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> |
updatePassword(Password newPassword,
UpdateMode updateMode,
org.apache.http.protocol.HttpContext httpContext)
Specify a new password for the user.
|
buildSearchKey, doGet, execute, executeWithBody, executeWithBody, executeWithPrecondition, get, get, getEndpointWithQueryParams, getLocalCache, search, searchpublic com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> getPassword(@Nonnull@NotEmpty String userId, @Nonnull org.apache.http.protocol.HttpContext httpContext)
getPassword in interface PasswordClientuserId - The id of the user owning this passwordhttpContext - The HTTP contextHttpServiceException
on any errorspublic com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> updatePassword(@Nonnull Password newPassword, @Nonnull UpdateMode updateMode, @Nonnull org.apache.http.protocol.HttpContext httpContext)
updatePassword in interface PasswordClientnewPassword - The new password to applyupdateMode - The context under which this password is being updatedhttpContext - The HTTP context for this callHttpServiceException. If successful, the future
will produce the new password entry in effect.public com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> expirePassword(@Nonnull@NotEmpty String subject, @Nonnull org.apache.http.protocol.HttpContext httpContext)
expirePassword in interface PasswordClientsubject - subject id of the password resourcehttpContext - The HTTP contextHttpServiceException on any errorspublic com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> lockPassword(@Nonnull@NotEmpty String subject, @Nonnull org.apache.http.protocol.HttpContext httpContext)
lockPassword in interface PasswordClientsubject - subject id of the password resourcehttpContext - The HTTP contextServiceException on any errors.public com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> lockPassword(@Nonnull@NotEmpty String subject, long lockDuration, @Nonnull TimeUnit durationUnit, @Nonnull org.apache.http.protocol.HttpContext httpContext)
lockPassword in interface PasswordClientsubject - subject id of the password resourcelockDuration - length of time the account will remain lockeddurationUnit - unit of time the lockout duration is expressed inhttpContext - The HTTP contextServiceException on any errors.public com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> unlockPassword(@Nonnull@NotEmpty String subject, @Nonnull org.apache.http.protocol.HttpContext httpContext)
unlockPassword in interface PasswordClientsubject - subject id of the password resourcehttpContext - The HTTP contextServiceException on any errorspublic com.google.common.util.concurrent.CheckedFuture<PasswordAuthenticationResponse,com.covisint.core.http.service.core.ServiceException> authentication(@Nonnull PasswordAuthenticationRequest request, @Nonnull org.apache.http.protocol.HttpContext httpContext)
authentication in interface PasswordClientrequest - the requesthttpContext - The HTTP contextpublic com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> batchUpdateAuthnPolicyIds(@Nonnull PasswordBatchUpdateRequest request, @Nonnull org.apache.http.protocol.HttpContext httpContext)
batchUpdateAuthnPolicyIds in interface PasswordClientrequest - PasswordBatchUpdateRequesthttpContext - The HTTP contextpublic com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> batchUpdatePasswordPolicyIds(@Nonnull PasswordBatchUpdateRequest request, @Nonnull org.apache.http.protocol.HttpContext httpContext)
batchUpdatePasswordPolicyIds in interface PasswordClientrequest - PasswordBatchUpdateRequesthttpContext - The HTTP contextpublic com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> add(Password resource, org.apache.http.protocol.HttpContext httpContext)
public com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> persist(Password resource, org.apache.http.protocol.HttpContext httpContext)
Copyright © 2015 Covisint. All rights reserved.