Class UserWrapper


  • public class UserWrapper
    extends AuthorizableWrapper
    User wrapper, Authorizable interface is not a ConsumerType and so should not be implemented. See OAK-10252
    • Constructor Detail

      • UserWrapper

        public UserWrapper​(org.apache.jackrabbit.api.security.user.User user)
    • Method Detail

      • isAdmin

        public boolean isAdmin()
      • isSystemUser

        public boolean isSystemUser()
      • getCredentials

        public javax.jcr.Credentials getCredentials()
                                             throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • getImpersonation

        public org.apache.jackrabbit.api.security.user.Impersonation getImpersonation()
                                                                               throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • changePassword

        public void changePassword​(String password)
                            throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • changePassword

        public void changePassword​(String password,
                                   String oldPassword)
                            throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • disable

        public void disable​(String reason)
                     throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • isDisabled

        public boolean isDisabled()
                           throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • getDisabledReason

        public String getDisabledReason()
                                 throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException