Examples of WebApplicationAuthenticationContextBase


Examples of net.sourceforge.javautil.web.server.application.impl.WebApplicationAuthenticationContextBase

          }
        }
      }
     
      if (na) {
        boolean authed = this.authenticator.authenticate(new WebApplicationAuthenticationContextBase(new MockServerRequestContext(this, ctx),
          this.context.getApplication().getWebXml().getLoginConfig()));
       
        Principal principal = ((MockHttpServletRequest)ctx.getRequest().getServletRequest()).getUserPrincipal();
        if (authed && principal != null && role != null) {
          return context.getApplication().hasRole(context.getServletContext(), principal, role);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.