Package net.sourceforge.javautil.web.server.application.impl

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

Related Classes of net.sourceforge.javautil.web.server.application.impl.WebApplicationAuthenticationContextBase

Copyright © 2018 www.massapicom. 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.