public override UserGroupInformation GetValue(HttpContext context) { Configuration conf = (Configuration)servletcontext.GetAttribute(JspHelper.CurrentConf ); try { return(JspHelper.GetUGI(servletcontext, request, conf, UserGroupInformation.AuthenticationMethod .Kerberos, false)); } catch (IOException e) { throw new SecurityException(SecurityUtil.FailedToGetUgiMsgHeader + " " + e, e); } }
/// <exception cref="System.IO.IOException"/> protected internal virtual UserGroupInformation GetUGI(HttpServletRequest request , Configuration conf) { return(JspHelper.GetUGI(GetServletContext(), request, conf)); }