public class JcrResourceConstants
extends java.lang.Object
JcrResourceConstants
interface provides constant values.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUTHENTICATION_INFO_CREDENTIALS
The name of the property providing the JCR credentials to be used by the
resource resolver factory method instead of the
user.name
and user.password properties. |
static java.lang.String |
AUTHENTICATION_INFO_SESSION
The name of the authentication info property containing a JCR Session to
which a JCR based resource resolver should provide access.
|
static java.lang.String |
NT_SLING_FOLDER
Constant for the sling:Folder node type
|
static java.lang.String |
NT_SLING_ORDERED_FOLDER
Constant for the sling:OrderedFolder node type
|
static java.lang.String |
SLING_NAMESPACE_URI
The namespace URI used by Sling JCR for items and node types used by
Sling (value is "http://sling.apache.org/jcr/sling/1.0").
|
static java.lang.String |
SLING_RESOURCE_SUPER_TYPE_PROPERTY
The name of the JCR Property that defines the resource super type (value
is "sling:resourceSuperType").
|
static java.lang.String |
SLING_RESOURCE_TYPE_PROPERTY
The name of the JCR Property that defines the resource type of this node
(value is "sling:resourceType").
|
Constructor and Description |
---|
JcrResourceConstants() |
public static final java.lang.String SLING_NAMESPACE_URI
Sling-Namespaces
bundle manifest header.public static final java.lang.String SLING_RESOURCE_TYPE_PROPERTY
public static final java.lang.String SLING_RESOURCE_SUPER_TYPE_PROPERTY
public static final java.lang.String AUTHENTICATION_INFO_CREDENTIALS
user.name
and user.password
properties. If this propery is provided
and set to an object of type javax.jcr.Credentials
the
user.name
property is ignored.
This property is ignored by the
ResourceResolverFactory.getAdministrativeResourceResolver(java.util.Map)
method or if the authentication info has a
AUTHENTICATION_INFO_SESSION
property set to a
javax.jcr.Session
object.
The type of this property, if present, is
javax.jcr.Credentials
.
ResourceResolverFactory.getResourceResolver(java.util.Map)
,
Constant Field Valuespublic static final java.lang.String AUTHENTICATION_INFO_SESSION
user.impersonation
which is still respected.
The session provided by as this property and used as the basis of newly created resource resolver must not be logged out before the resource resolver is closed. On the other closing the resource resolver not logout this session.
This property is ignored by the
ResourceResolverFactory.getAdministrativeResourceResolver(java.util.Map)
method.
The type of this property, if present, is javax.jcr.Session
.
public static final java.lang.String NT_SLING_FOLDER
public static final java.lang.String NT_SLING_ORDERED_FOLDER
Copyright © 2010 - 2020 Adobe. All Rights Reserved