org.mortbay.jetty.client.security
Class DigestAuthentication

java.lang.Object
  extended by org.mortbay.jetty.client.security.DigestAuthentication
All Implemented Interfaces:
Authentication

public class DigestAuthentication
extends Object
implements Authentication


Constructor Summary
DigestAuthentication(SecurityRealm realm, Map details)
           
 
Method Summary
protected  String newCnonce(HttpExchange exchange, SecurityRealm securityRealm, Map details)
           
protected  String newResponse(String cnonce, HttpExchange exchange, SecurityRealm securityRealm, Map details)
           
 void setCredentials(HttpExchange exchange)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DigestAuthentication

public DigestAuthentication(SecurityRealm realm,
                            Map details)
Method Detail

setCredentials

public void setCredentials(HttpExchange exchange)
                    throws IOException
Specified by:
setCredentials in interface Authentication
Throws:
IOException

newResponse

protected String newResponse(String cnonce,
                             HttpExchange exchange,
                             SecurityRealm securityRealm,
                             Map details)

newCnonce

protected String newCnonce(HttpExchange exchange,
                           SecurityRealm securityRealm,
                           Map details)


Copyright © 2008 Mort Bay Consulting. All Rights Reserved.