Class UserResource

All Implemented Interfaces:
Adaptable, Resource

public class UserResource extends AuthorizableResource
Deprecated.
5.4
  • Constructor Details

  • Method Details

    • getResourceType

      public String getResourceType()
      Deprecated.
      Sets the Resource-Type to com.day.cq.security.resource.User
      Specified by:
      getResourceType in interface Resource
      Overrides:
      getResourceType in class AuthorizableResource
      Returns:
      The resource type
      See Also:
    • getResourceSuperType

      public String getResourceSuperType()
      Deprecated.
      Sets the Resource-SuperType to com.day.cq.security.resource.AuthorizableResource
      Returns:
      The super type of the resource or null.
      See Also:
    • adaptTo

      public <AdapterType> AdapterType adaptTo(Class<AdapterType> type)
      Deprecated.
      Adds adapter-support for the User
      Specified by:
      adaptTo in interface Adaptable
      Overrides:
      adaptTo in class AuthorizableResource
      Type Parameters:
      AdapterType - The generic type to which this resource is adapted to
      Parameters:
      type - The Class object of the target type, such as javax.jcr.Node.class or java.io.File.class
      Returns:
      The adapter target or null if the resource cannot adapt to the requested type
      See Also: