## Uses of Interface
org.modeshape.jcr.security.SecurityContext

- Packages that use SecurityContext
  Package | Description
  --- | ---
  org.modeshape.jcr |
  org.modeshape.jcr.security | ModeShape JCR repositories have a pluggable authentication and authorization framework.
  org.modeshape.jcr.security.acl |

- - ### Uses of SecurityContext in org.modeshape.jcr

    Methods in org.modeshape.jcr that return SecurityContext
    Modifier and Type | Method and Description
    --- | ---
    `SecurityContext` | ExecutionContext.`getSecurityContext()` Get the `security context` for this context.

    Methods in org.modeshape.jcr with parameters of type SecurityContext
    Modifier and Type | Method and Description
    --- | ---
    `ExecutionContext` | ExecutionContext.`with(SecurityContext securityContext)` Create an `ExecutionContext` that is the same as this context, but which uses the supplied `security context`.

    Constructors in org.modeshape.jcr with parameters of type SecurityContext
    Constructor and Description
    `ExecutionContext(SecurityContext securityContext, NamespaceRegistry namespaceRegistry, PropertyFactory propertyFactory, ThreadPoolFactory threadPoolFactory, BinaryStore binaryStore, Map<String,String> data, String processId, TextDecoder decoder, TextEncoder encoder, StringFactory stringFactory, BinaryFactory binaryFactory, ValueFactory<Boolean> booleanFactory, DateTimeFactory dateFactory, ValueFactory<BigDecimal> decimalFactory, ValueFactory<Double> doubleFactory, ValueFactory<Long> longFactory, NameFactory nameFactory, PathFactory pathFactory, ReferenceFactory referenceFactory, ReferenceFactory weakReferenceFactory, ReferenceFactory simpleReferenceFactory, UriFactory uriFactory, UuidFactory uuidFactory, ValueFactory<Object> objectFactory)` Create an instance of the execution context by supplying all parameters.

  - ### Uses of SecurityContext in org.modeshape.jcr.security

    Classes in org.modeshape.jcr.security that implement SecurityContext
    Modifier and Type | Class and Description
    --- | ---
    `protected class` | `AnonymousProvider.AnonymousSecurityContext`
    `class` | `JaasSecurityContext` JAAS-based `security context` that provides authentication and authorization through the JAAS `login context`.
    `protected static class` | `ServletProvider.ServletSecurityContext`

  - ### Uses of SecurityContext in org.modeshape.jcr.security.acl

    Methods in org.modeshape.jcr.security.acl with parameters of type SecurityContext
    Modifier and Type | Method and Description
    --- | ---
    `Privilege[]` | JcrAccessControlList.`getPrivileges(SecurityContext context)` Lists all privileges defined by this access list for the given user.
    `boolean` | JcrAccessControlList.`hasPrivileges(SecurityContext sc, Privilege[] privileges)` Tests privileges relatively to the given security context.

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.