A
- public class SimpleSessionService<A extends AppUser> extends AbstractSessionService<A>
ALLOW_UNKNOWN_RELATIONSHIP_IN_OR_FEATURE, APPLY_DEFAULT_PERSON_RELATIONSHIP_FILTER, APPLY_DEFAULT_TARGET_RELATIONSHIP_FILTER, auth_time_tag, auth_type_tag, CACHE_RELATIONSHIP_FEATURE, person_tag, ROLE_FIELD, ROLE_LIST_CONFIG, ROLE_PERSON_ID, ROLE_TABLE, TOGGLE_ROLES_FEATURE, USE_ROLE_PREFIX
conn
ADMIN_ROLE
Constructor and Description |
---|
SimpleSessionService(AppContext c) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String key)
retrieve an object stored in the session.
|
void |
removeAttribute(java.lang.String key)
remove object from session
|
void |
setAttribute(java.lang.String key,
java.lang.Object value)
Store an object in the session.
|
addRoleByID, addSecurityContext, cacheRole, canHaveRole, canHaveRole, canLogin, cleanup, clearCurrentPerson, flushRelationships, getApplyToggle, getAuthenticationTime, getAuthenticationType, getCurrentPerson, getDefaultFactoryClass, getExplicitRoles, getGlobalRoleFilter, getGlobalRoleFilter, getLocale, getLoginFactory, getLoginTable, getName, getPersonID, getPersonInRelationshipRoleFilter, getPersonInRoleFilter, getRelationshipRoleFilter, getRelationshipRoleFilter, getStandardRoles, getTargetInRelationshipRoleFilter, getTimeZone, getToggle, getToggleMap, getToggleRoles, getType, hasRelationship, hasRelationship, hasRole, haveCurrentUser, isAuthenticated, isCurrentPerson, logOut, lookupPerson, makeDirectPersonInRelationshipRoleFilter, makeDirectRelationshipRoleFilter, makeNamedFilter, makePersonInRelationshipRoleFilter, makeRelationshipRoleFilter, makeToggleMap, mapRoleName, rawRoleQuery, removeRoleByID, setApplyToggle, setAuthenticationTime, setAuthenticationType, setCurrentPerson, setCurrentPerson, setCurrentRoleToggle, setRole, setTempRole, setToggle, setupRoleTable, shortcutTestRole, testRole, toggleRole, toString
getContext, getLogger, resetLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canHaveRoleFromList, hasRelationship, hasRoleFromList, personHasRelationship
getContext
public SimpleSessionService(AppContext c)
public final void setAttribute(java.lang.String key, java.lang.Object value)
SessionService
AppContext
might have a shorter lifetime.
tpublic final void removeAttribute(java.lang.String key)
SessionService
public final java.lang.Object getAttribute(java.lang.String key)
SessionService