| Package | Description | 
|---|---|
| org.apache.jackrabbit.core | 
 Contains the core classes that provide the implementation of the JCR API. 
 | 
| org.apache.jackrabbit.core.security | |
| org.apache.jackrabbit.core.security.authentication | |
| org.apache.jackrabbit.core.security.simple | 
| Modifier and Type | Field and Description | 
|---|---|
protected AuthContext | 
SessionImpl.loginContext
the AuthContext of this session (can be null if this
 session was not instantiated through a login process) 
 | 
| Modifier and Type | Method and Description | 
|---|---|
AuthContext | 
UserPerWorkspaceSecurityManager.getAuthContext(javax.jcr.Credentials creds,
              Subject subject,
              String workspaceName)
Creates an AuthContext for the given  
Credentials and
 Subject.This includes selection of application specific LoginModules and initialization with credentials and Session to System-Workspace  | 
AuthContext | 
DefaultSecurityManager.getAuthContext(javax.jcr.Credentials creds,
              Subject subject,
              String workspaceName)
Creates an AuthContext for the given  
Credentials and
 Subject. | 
| Modifier and Type | Method and Description | 
|---|---|
protected SessionImpl | 
RepositoryImpl.createSession(AuthContext loginContext,
             String workspaceName)
Creates a new repository session on the specified workspace for the
 authenticated subject of the given login context and
 adds it to the active sessions. 
 | 
protected SessionImpl | 
RepositoryImpl.createSessionInstance(AuthContext loginContext,
                     WorkspaceConfig wspConfig)
Creates an instance of the  
SessionImpl class representing a
 user authenticated by the loginContext instance attached
 to the workspace configured by the wspConfig. | 
| Constructor and Description | 
|---|
SessionImpl(RepositoryContext repositoryContext,
           AuthContext loginContext,
           WorkspaceConfig wspConfig)
Protected constructor. 
 | 
XASessionImpl(RepositoryContext repositoryContext,
             AuthContext loginContext,
             WorkspaceConfig wspConfig)
Create a new instance of this class. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
AuthContext | 
JackrabbitSecurityManager.getAuthContext(javax.jcr.Credentials creds,
              Subject subject,
              String workspaceName)
Returns a new  
AuthContext for the specified credentials and
 subject. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
JAASAuthContext
Implements the common  
AuthContext interface for the JAAS environment. | 
class  | 
LocalAuthContext
Provide AuthContext interface, for a JAAS-LoginModule not running in
 a  
LoginContext | 
| Modifier and Type | Method and Description | 
|---|---|
AuthContext | 
AuthContextProvider.getAuthContext(javax.jcr.Credentials credentials,
              Subject subject,
              javax.jcr.Session session,
              PrincipalProviderRegistry principalProviderRegistry,
              String adminId,
              String anonymousId)  | 
| Modifier and Type | Method and Description | 
|---|---|
AuthContext | 
SimpleSecurityManager.getAuthContext(javax.jcr.Credentials creds,
              Subject subject,
              String workspaceName)
Creates an AuthContext for the given  
Credentials and
 Subject.This includes selection of applicatoin specific LoginModules and initalization with credentials and Session to System-Workspace  | 
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.