public final class AuthInfoUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthInfoUtil.Attribute
Constants for request attribute keys
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getAuthTypeFromRequest(javax.servlet.http.HttpServletRequest req)
Get the hosted domain for this request.
|
static SecurityToken |
getSecurityTokenFromRequest(javax.servlet.http.HttpServletRequest req)
Get the security token for this request.
|
static void |
setAuthTypeForRequest(javax.servlet.http.HttpServletRequest req,
String authType)
Set the auth type for the request.
|
static void |
setSecurityTokenForRequest(javax.servlet.http.HttpServletRequest req,
SecurityToken token)
Set the security token for the request.
|
public static SecurityToken getSecurityTokenFromRequest(javax.servlet.http.HttpServletRequest req)
public static String getAuthTypeFromRequest(javax.servlet.http.HttpServletRequest req)
null if no domain was foundpublic static void setSecurityTokenForRequest(javax.servlet.http.HttpServletRequest req,
SecurityToken token)
req - The request objecttoken - The security tokenpublic static void setAuthTypeForRequest(javax.servlet.http.HttpServletRequest req,
String authType)
req - The request objectauthType - The named auth typeCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.