public interface User extends Authorizable
AuthorizablePROPERTY_DESCRIPTION, PROPERTY_EMAIL, PROPERTY_FIRST_NAME, PROPERTY_ID, PROPERTY_IMPERSONATORS, PROPERTY_LAST_NAME, PROPERTY_NAME, PROPERTY_PASSWORD, PROPERTY_PRINCIPAL| Modifier and Type | Method and Description |
|---|---|
void |
changePassword(java.lang.String password)
Deprecated.
|
void |
disable(java.lang.String reason)
Deprecated.
|
java.lang.String |
getDisabledReason()
Deprecated.
|
java.util.Iterator<? extends Authorizable> |
getImpersonators()
Deprecated.
Access all
Authorizables that are allowed to
impersonate as this User. |
java.util.Iterator<java.lang.String> |
getSudoableUsers()
Deprecated.
Return the Ids of all Authorizables that this User is allowed to impersonate
as
|
boolean |
grantImpersonation(Authorizable authorizable)
Deprecated.
Grant an
Authorizable the privilege to impersonate
as this User.NOTE: you can't grant impersonation from the User to the User itself. |
boolean |
isDisabled()
Deprecated.
|
boolean |
revokeImpersonation(Authorizable authorizable)
Deprecated.
Revoke the given
Authorizanle the privilege to
impersonate as this User.NOTE: you can't revoke impersonation from the User to the User itself. |
void |
setPassword(java.lang.String password,
java.lang.String digest)
Deprecated.
|
getHomePath, getID, getName, getPrincipal, getPrivilege, getPrivileges, getProfile, getProperty, getPropertyNames, grantPrivilege, hasPermission, hasPermissionOn, isUser, memberOf, remove, removeProperty, revokePrivilege, setPropertyboolean grantImpersonation(Authorizable authorizable) throws AccessDeniedException
Authorizable the privilege to impersonate
as this User.authorizable - the Impersonation should be grantedAccessDeniedException - if privileges are not sufficientboolean revokeImpersonation(Authorizable authorizable) throws AccessDeniedException
Authorizanle the privilege to
impersonate as this User.authorizable - to remove the PrivilegeAccessDeniedException - in case the caller does not the permission
to perform this actionjava.util.Iterator<? extends Authorizable> getImpersonators()
Authorizables that are allowed to
impersonate as this User.
The collection will only contain the Authorizables the caller has permissions
to readjava.util.Iterator<java.lang.String> getSudoableUsers()
@Deprecated
void setPassword(java.lang.String password,
java.lang.String digest)
throws java.security.NoSuchAlgorithmException,
AccessDeniedException
password - considered plaindigest - to use for encryption of the given password.java.security.NoSuchAlgorithmException - if the digest is not registered as a MessageDigestAccessDeniedException - In case of missing permissions.void changePassword(java.lang.String password)
password - considered plainvoid disable(java.lang.String reason)
throws RepositoryException
RepositoryExceptionUser.disable(String)boolean isDisabled()
throws RepositoryException
RepositoryExceptionUser.isDisabled()java.lang.String getDisabledReason()
throws RepositoryException
RepositoryExceptionUser.getDisabledReason()Copyright © 2010 - 2023 Adobe. All Rights Reserved