public class MembershipCache extends Object implements SynchronousEventListener, SessionListener
MembershipCache...| Modifier and Type | Field and Description | 
|---|---|
static String | 
AUTHORIZABLES_PATH  | 
static String | 
GROUP_ADMIN_GROUP_NAME
Configuration key and default value for the the name of the
 'GroupAdmin' group-principal 
 | 
static String | 
GROUPS_PATH  | 
static Name | 
MIX_REP_IMPERSONATABLE  | 
static Name | 
N_MEMBERS  | 
static NameFactory | 
NF  | 
static Name | 
NT_REP_AUTHORIZABLE  | 
static Name | 
NT_REP_AUTHORIZABLE_FOLDER  | 
static Name | 
NT_REP_GROUP  | 
static Name | 
NT_REP_MEMBERS  | 
static Name | 
NT_REP_USER  | 
static Name | 
P_DISABLED  | 
static Name | 
P_GROUPS
Deprecated. 
 
As of 2.0 group membership is stored with the group node. 
 | 
static Name | 
P_IMPERSONATORS
Name of the user property containing the principal names of those allowed
 to impersonate. 
 | 
static Name | 
P_MEMBERS  | 
static Name | 
P_PASSWORD  | 
static Name | 
P_PRINCIPAL_NAME  | 
static Name | 
P_USERID
Deprecated. 
 
As of 2.0 the id-hash is stored with the jcr:uuid making the
 rep:userId property redundant. It has been removed from the node type
 definition. 
 | 
static String | 
SECURITY_ROOT_PATH
root-path to security related content e.g. 
 | 
static String | 
USER_ADMIN_GROUP_NAME
Configuration key and default value for the the name of the
 'UserAdmin' group-principal. 
 | 
static String | 
USERS_PATH  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
loggedOut(SessionImpl session)
Called when a  
Session has been 'closed' by
 calling . | 
void | 
loggingOut(SessionImpl session)
Called when a  
Session is about to be 'closed' by
 calling . | 
void | 
onEvent(javax.jcr.observation.EventIterator eventIterator)  | 
public static final NameFactory NF
public static final String SECURITY_ROOT_PATH
public static final String AUTHORIZABLES_PATH
public static final String USERS_PATH
public static final String GROUPS_PATH
public static final String USER_ADMIN_GROUP_NAME
public static final String GROUP_ADMIN_GROUP_NAME
public static final Name P_PRINCIPAL_NAME
public static final Name P_USERID
public static final Name P_PASSWORD
public static final Name P_DISABLED
public static final Name P_GROUPS
P_MEMBERSpublic static final Name P_MEMBERS
public static final Name N_MEMBERS
public static final Name P_IMPERSONATORS
public static final Name NT_REP_AUTHORIZABLE
public static final Name NT_REP_AUTHORIZABLE_FOLDER
public static final Name NT_REP_USER
public static final Name NT_REP_GROUP
public static final Name NT_REP_MEMBERS
public static final Name MIX_REP_IMPERSONATABLE
public void onEvent(javax.jcr.observation.EventIterator eventIterator)
onEvent in interface javax.jcr.observation.EventListenerEventListener.onEvent(javax.jcr.observation.EventIterator)public void loggingOut(SessionImpl session)
SessionListenerSession is about to be 'closed' by
 calling Session.logout(). At this
 moment the session is still valid.loggingOut in interface SessionListenersession - the Session that is about to be 'closed'SessionListener.loggingOut(org.apache.jackrabbit.core.SessionImpl)public void loggedOut(SessionImpl session)
SessionListenerSession has been 'closed' by
 calling Session.logout().loggedOut in interface SessionListenersession - the Session that has been 'closed'SessionListener.loggedOut(org.apache.jackrabbit.core.SessionImpl)Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.