1 16 package org.mortbay.http; 17 18 import java.io.IOException ; 19 import java.io.Serializable ; 20 import java.security.Principal ; 21 22 25 public interface Authenticator extends Serializable  26 { 27 39 public Principal authenticate( 40 UserRealm realm, 41 String pathInContext, 42 HttpRequest request, 43 HttpResponse response) 44 throws IOException ; 45 46 47 public String getAuthMethod(); 48 } 49 | Popular Tags |