1 17 package org.apache.geronimo.jetty6; 18 19 import org.mortbay.jetty.security.Authenticator; 20 import org.mortbay.jetty.security.UserRealm; 21 import org.mortbay.jetty.Request; 22 import org.mortbay.jetty.Response; 23 24 import java.security.Principal ; 25 import java.io.IOException ; 26 27 31 public class NonAuthenticator implements Authenticator { 32 public Principal authenticate(UserRealm realm, String pathInContext, Request request, Response response) throws IOException { 33 return null; 34 } 35 36 public String getAuthMethod() { 37 return "None"; 38 } 39 } 40 | Popular Tags |