public class AuthUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AuthUtils.AuthType |
Modifier and Type | Field and Description |
---|---|
static String |
AUTHENTICATED_IDENTITY |
Constructor and Description |
---|
AuthUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
forget(javax.servlet.http.HttpSession session,
boolean aggressiveSessionInvalidation) |
static AuthUtils.AuthType |
getAuthType(javax.servlet.http.HttpSession session) |
static com.indexdata.torus.layer.IdentityTypeLayer |
getIdentity(javax.servlet.http.HttpSession session) |
static boolean |
isAuthenticated(javax.servlet.http.HttpSession session) |
static void |
setIdentity(javax.servlet.http.HttpSession session,
com.indexdata.torus.layer.IdentityTypeLayer identity,
AuthUtils.AuthType authType) |
public static final String AUTHENTICATED_IDENTITY
public static com.indexdata.torus.layer.IdentityTypeLayer getIdentity(javax.servlet.http.HttpSession session) throws AuthenticationException
AuthenticationException
public static void setIdentity(javax.servlet.http.HttpSession session, com.indexdata.torus.layer.IdentityTypeLayer identity, AuthUtils.AuthType authType)
public static boolean isAuthenticated(javax.servlet.http.HttpSession session)
public static AuthUtils.AuthType getAuthType(javax.servlet.http.HttpSession session)
public static void forget(javax.servlet.http.HttpSession session, boolean aggressiveSessionInvalidation)
Copyright © 2008-2015 Index Data. All Rights Reserved.