org.apache.geronimo.jetty6
Class NonAuthenticator
java.lang.Object
org.apache.geronimo.jetty6.NonAuthenticator
- All Implemented Interfaces:
- Serializable, org.mortbay.jetty.security.Authenticator
public class NonAuthenticator
- extends Object
- implements org.mortbay.jetty.security.Authenticator
Authenticator that always denies, returning null. Useful when you need to install a default principal/subject
in an unsecured web app.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonAuthenticator
public NonAuthenticator()
authenticate
public Principal authenticate(org.mortbay.jetty.security.UserRealm realm,
String pathInContext,
org.mortbay.jetty.Request request,
org.mortbay.jetty.Response response)
throws IOException
- Specified by:
authenticate
in interface org.mortbay.jetty.security.Authenticator
- Throws:
IOException
getAuthMethod
public String getAuthMethod()
- Specified by:
getAuthMethod
in interface org.mortbay.jetty.security.Authenticator
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.