public interface PasswordClient extends com.covisint.core.http.service.client.ResourceClient<Password>
| Modifier and Type | Method and Description |
|---|---|
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> |
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> |
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.
|
@Nonnull com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> getPassword(@Nonnull String userId, @Nonnull org.apache.http.protocol.HttpContext httpContext)
userId - The id of the user owning this passwordhttpContext - The HTTP contextHttpServiceException
on any errors@Nonnull 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)
newPassword - 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.@Nonnull com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> expirePassword(@Nonnull String subject, @Nonnull org.apache.http.protocol.HttpContext httpContext)
subject - subject id of the password resourcehttpContext - The HTTP contextHttpServiceException on any errors@Nonnull com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> lockPassword(@Nonnull String subject, @Nonnull org.apache.http.protocol.HttpContext httpContext)
subject - subject id of the password resourcehttpContext - The HTTP contextServiceException on any errors.@Nonnull com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> lockPassword(@Nonnull String subject, @Nonnull long lockDuration, @Nonnull TimeUnit durationUnit, @Nonnull org.apache.http.protocol.HttpContext httpContext)
subject - 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.@Nonnull com.google.common.util.concurrent.CheckedFuture<Password,com.covisint.core.http.service.core.ServiceException> unlockPassword(@Nonnull String subject, @Nonnull org.apache.http.protocol.HttpContext httpContext)
subject - subject id of the password resourcehttpContext - The HTTP contextServiceException on any errors@Nonnull 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)
request - the requesthttpContext - The HTTP context@Nonnull 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)
request - PasswordBatchUpdateRequesthttpContext - The HTTP context@Nonnull 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)
request - PasswordBatchUpdateRequesthttpContext - The HTTP contextCopyright © 2015 Covisint. All rights reserved.