public interface UserPropertiesProvider
UserPropertiesProvider
interface describes access to UserProperties
via request or ResourceResolver
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_USERPROPS_PATH |
Modifier and Type | Method and Description |
---|---|
UserProperties |
getUserProperties(ResourceResolver resolver)
Extract the
UserProperties based on the given resolver . |
UserProperties |
getUserProperties(SlingHttpServletRequest request)
Extract the
UserProperties based on the given request . |
static final java.lang.String DEFAULT_USERPROPS_PATH
UserProperties getUserProperties(SlingHttpServletRequest request)
UserProperties
based on the given request
.request
- The request from which to extract user properties.UserProperties
or null
if not found.UserProperties getUserProperties(ResourceResolver resolver)
UserProperties
based on the given resolver
.resolver
- The ResourceResolver from which to extract user properties.UserProperties
or null
if not found."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"