|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
AuthorizableAction
interface that
doesn't perform any action.ChildNodeEntry
implementations.NodeState
implementations.AccessControlAction
allows to setup permissions upon creation
of a new authorizable; namely the privileges the new authorizable should be
granted on it's own 'home directory' being represented by the new node
associated with that new authorizable.name
.
ours
has been added to parent
which conflicts
with node theirs
which has been added in the persistence store.
ours
has been added to parent
which conflicts
with property theirs
which has been added in the persistence store.
ConflictHandler
implementation resolves conflicts to
Resolution#THEIRS
and in addition marks nodes where a conflict
occurred with the mixin rep:MergeConflict
:GuestCredentials
or any other credentials that result in
"anonymous" login.Credentials
and returns true
if
the validation was successful.
Authentication
interface defines methods to validate
Credentials
during the
login step
of the
authentication process.AuthInfo
instances provide access to information related
to authentication and authorization of a given content session.AuthorizableAction
interface provide an implementation
specific way to execute additional validation or write tasks upon
User creation
,
Group creation
,
Authorizable removal
and
User password modification
.
java.util.SortedMap
.PasswordUtility.buildPasswordHash(String, String, int, int)
but retrieving
the parameters for hash generation from the specified configuration.
BuiltInNodeTypes
is a utility class that registers the built-in
node types required for a JCR repository running on Oak.CallbackHandler
interface.ours
has been changed in parent
while it was
also changed to a different value (theirs
) in the persistence store.
ours
has been changed in parent
while it was
removed in the persistence store.
ours
has been changed in parent
while it was
removed in the persistence store.
ChangeExtractor
can be used to follow changes
done to a Root
instance.ChildNodeEntry
instance represents the child node states of a
NodeState
.ContentSession
interface
indicating that committing a given set of changes failed.MemoryNodeBuilder.ModifiedNodeState
instance, we can do this in two steps:
first compare the base states to each other (often a fast operation),
ignoring all changed properties and child nodes for which we have
further modifications, and then compare all the modified properties
and child nodes to those in the given base state.
MemoryNodeState
instances, so this method will just do
a generic diff against the given state.
PrincipalProvider
implementation that aggregates a list of principal
providers into a single.QueryIndexProvider
aggregates a list of query index providers
into a single query index provider.Validator
aggregates a list of validators into
a single validator.ValidatorProvider
aggregates a list of validator providers into
a single validator provider.ConflictHandler
is responsible for handling conflicts which happen
on Root.rebase(ConflictHandler)
and on the implicit rebase operation which
takes part on Root.commit(ConflictHandler)
.Validator
which checks the presence of conflict markers
in the tree in fails the commit if any are found.MicroKernel
-based implementation of
the ContentRepository
interface.sourcePath
to a child at destPath
.
CoreValue
is the internal representation of a JCR value
.CoreValueFactory
defines methods to create new instances of
CoreValue
.CoreValueFactoryImpl
is the default implementation of the
CoreValueFactory
interface.CoreValue
s to the JSON
representation passed to MicroKernel and vice versa.PropertyType.STRING
.
PropertyType.DOUBLE
.
PropertyType.DOUBLE
.
PropertyType.BOOLEAN
.
PropertyType.DECIMAL
.
PropertyType.BINARY
from the given byte stream.
Credentials
.ConflictHandler
always returns the same resolution.ConflictHandler
which always returns resolution
.
DefaultValidator
.theirs
changed in the persistence store while it has been
deleted locally.
theirs
changed in the persistence store while it has been
deleted locally.
name
has been removed in parent
while it was
also removed in the persistence store.
ours
has been removed in parent
while it was
also removed in the persistence store.
FieldFactory
is a factory for Field
instances with
frequently used fields.CoreValue
.
null
if no attribute
with that attributeName
exists.
Credentials
originally passed to
Session.impersonate(javax.jcr.Credentials)
.
boolean
representation of this value.
ChangeExtractor
for this Root
.
Tree
instance.
Tree
instance.
Tree
instance taking
access restrictions into account.
CoreValueFactory
to be used by this node type manager.
Credentials
that have been set before using
CredentialsCallback.setCredentials(javax.jcr.Credentials)
.
BigDecimal
representation of this value.
IndexDefinition
out of a ChildNodeEntry
double
representation of this value.
AuthInfo
present with the editing session that want
to impersonate.
path
LoginContext
that handles authentication.
long
representation of this value.
NameMapper
to be used by this node type manager.
null
if no
such mapping exists because the given JCR name contains an unknown
namespace URI or prefix, or is otherwise invalid.
null
if no
such mapping exists because the given JCR path contains a name element
with an unknown namespace URI or prefix, or is otherwise invalid.
PathMapper.getOakPath(String)
, but preserving the index information
null
if no such item exists.
identifier
or null
.
CoreValue value
.
null
if the
principal does not exist.
PrincipalProviderCallback.setPrincipalProvider(org.apache.jackrabbit.oak.spi.security.principal.PrincipalProvider)
or null
.
AuthInfo
instance.
userID
to a valid principal and
it's group membership.
ContentSession
.
PropertyState
for this TreeLocation
.
null
if the property is not set.
Status
of a property state or null
.
NamespaceRegistry
implementation methods
to acquire a root Tree
instance from which to read the
namespace mappings (under jcr:system/rep:namespaces
).
tree
that match
the given name and node type constraints.
Status
of this tree instance.
Tree.Status
of the underlying item or null
if no
such item exists.
String
representation of this value.
TokenProviderCallback.setTokenProvider(TokenProvider)
or null
.
Tree
at the given absolute path
.
Tree
for this TreeLocation
.
identifier
or null
.
BINARY
BOOLEAN
DATE
DECIMAL
DOUBLE
LONG
NAME
PATH
REFERENCE
STRING
URI
WEAKREFERENCE
PropertyDefinitionImpl.getDefaultValues()
.
ContentSession
instance has
been created for.
Root
instance
that can be used to persist the requested namespace changes (and
nothing else).
ReadWriteNodeTypeManager.registerNodeType(NodeTypeDefinition,boolean)
,
ReadWriteNodeTypeManager.registerNodeTypes(NodeTypeDefinition[], boolean)
,
ReadWriteNodeTypeManager.unregisterNodeType(String)
and ReadWriteNodeTypeManager.unregisterNodeTypes(String[])
to acquire a fresh Root
instance that can be used to persist the
requested node type changes (and nothing else).
GuestLoginModule
is intended to provide backwards compatibility
with the login handling present in the JCR reference implementation located
in jackrabbit-core.Tree
instance exists.
AbstractChildNodeEntry.equals(Object)
method is implemented.
AbstractNodeState.equals(Object)
method is implemented.
Credentials
interface used to distinguish
a regular login request from Session.impersonate(javax.jcr.Credentials)
.PropertyIndexer
- see OAK-298true
if the privilege described by this definition
is abstract.
true
if the specified string doesn't start with a
valid algorithm name in curly brackets.
true
if hash of the specified password
equals the
given hashed password.
NodeState
implementation based on the MicroKernel
interface.path
and revision
.
NodeStore
implementations against MicroKernel
.CoreValue
s.
ContentSession
instance for accessing repository content
inside the specified workspace as the authenticated user.
LoginContext
for
the desired authentication mechanism.
This provider defines a single method LoginContextProvider.getLoginContext(javax.jcr.Credentials, String)
that takes the credentials
and the workspace name such
as passed to ContentRepository.login(javax.jcr.Credentials, String)
.Credentials
against the repository.sourcePath
to a child at destPath
.
NamePathMapper
interface combines NameMapper
and
PathMapper
.path
value and with a field
name FieldNames.PATH
.
node states
.null
value)
child nodes.
oak:childOrder
"
property state indicating the order of child nodes.
ConflictHandler
which always return Resolution#OURS
.
listener
about the result or any error that may occur during parsing.
PasswordValidationAction
provides a simple password validation
mechanism with the following configurable option:
constraint: a regular expression that can be compiled
to a Pattern
defining validation rules for a password.
PathMapper
instances provide methods for mapping paths from their JCR
string representation to their Oak representation and vice versa.MicroKernel
.PrincipalProvider
to the
login module.PrincipalProviderImpl
is a principal provider implementation
that operates on principal information read from user information exposed by
the configured UserProvider
and MembershipProvider
.PrivilegeDefinition
interface defines the characteristics of
a JCR Privilege
.PrivilegeValidatorProvider
to construct a Validator
instance
to make sure modifications to the /jcr:system/rep:privileges tree are compliant
with constraints applied for custom privileges.MicroKernel
.null
value)
property states.
UnsupportedOperationException
on
all attempts to modify the given base state.NodeTypeManager
with support for reading
node types from the Tree
returned by ReadOnlyNodeTypeManager.getTypes()
.ReadWriteNodeTypeManager
extends the ReadOnlyNodeTypeManager
and add support for operations that modify node types:
ReadWriteNodeTypeManager.registerNodeType(NodeTypeDefinition, boolean)
ReadWriteNodeTypeManager.registerNodeTypes(NodeTypeDefinition[], boolean)
ReadWriteNodeTypeManager.unregisterNodeType(String)
ReadWriteNodeTypeManager.unregisterNodeTypes(String[])
Calling any of the above methods will result in a ReadWriteNodeTypeManager.refresh()
callback
to e.g.Directory
(a flat list of
files) that allows to store Lucene index content in an Oak repository.ReadWriteNodeTypeManager
implementation methods to
refresh the state of the session associated with this instance.
Root
.
UnsupportedRepositoryOperationException
.
UnsupportedRepositoryOperationException
.
Tree
.NodeStore
and a workspace
Authorizable
s should be
searched.
Group
s should be searched
and returned.
MicroKernel
with authentication and
authorization.
PrincipalProvider
that is being used during the
authentication process.
TokenProvider
that is being used during the
authentication process.
true
if the specified JSON String represents a value
serialization that includes a leading type hint.
TermFactory
is a factory for Term
instances with
frequently used field names.ConflictHandler
which always return Resolution#THEIRS
.
RepositoryException
: if the cause
for this exception already is a RepositoryException
, this exception is
wrapped into the actual type of the cause and rethrown.
ContentRepository
tree at the time the instance was acquired.Tree
TreeLocation
denotes a location inside a tree.UnsupportedRepositoryOperationException
.
UnsupportedRepositoryOperationException
.
MicroKernelWrapperBase.wrap(org.apache.jackrabbit.mk.api.MicroKernel)
;
User
s and Group
s.Validator
provided by the ValidatorProvider
passed to the class' constructor.Validator
s provided by validatorProvider
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |