/** * Set the security token for the request. * * @param req The request object * @param token The security token */ public static void setSecurityTokenForRequest(HttpServletRequest req, SecurityToken token) { setRequestAttribute(req, Attribute.SECURITY_TOKEN, token); }
/** * Set the security token for the request. * * @param req The request object * @param token The security token */ public static void setSecurityTokenForRequest(HttpServletRequest req, SecurityToken token) { setRequestAttribute(req, Attribute.SECURITY_TOKEN, token); }
/** * Set the auth type for the request. * * @param req The request object * @param authType The named auth type */ public static void setAuthTypeForRequest(HttpServletRequest req, String authType) { setRequestAttribute(req, Attribute.AUTH_TYPE, authType); }
/** * Set the security token for the request. * * @param req The request object * @param token The security token */ public static void setSecurityTokenForRequest(HttpServletRequest req, SecurityToken token) { setRequestAttribute(req, Attribute.SECURITY_TOKEN, token); }
/** * Set the auth type for the request. * * @param req The request object * @param authType The named auth type */ public static void setAuthTypeForRequest(HttpServletRequest req, String authType) { setRequestAttribute(req, Attribute.AUTH_TYPE, authType); }
/** * Set the auth type for the request. * * @param req The request object * @param authType The named auth type */ public static void setAuthTypeForRequest(HttpServletRequest req, String authType) { setRequestAttribute(req, Attribute.AUTH_TYPE, authType); }