net.spy.jwebkit.auth
Interface DigestSupportAuthAdaptor

All Superinterfaces:
AuthAdaptor
All Known Implementing Classes:
PropPasswdAuthAdaptor, SimpleAuthAdaptor

public interface DigestSupportAuthAdaptor
extends AuthAdaptor

AuthAdaptor with support for digest authenticators.


Method Summary
 java.lang.String getHA1(java.lang.String username, java.lang.String realm)
          Get the HA1 string for authentication.
 
Methods inherited from interface net.spy.jwebkit.auth.AuthAdaptor
didAuthenticate, init, isPrincipalInRole
 

Method Detail

getHA1

java.lang.String getHA1(java.lang.String username,
                        java.lang.String realm)
Get the HA1 string for authentication. This string is computed by concatenating the username, the realm, and the password with colons, and then returning the hex encoded digest of this value.

Parameters:
u - the username
r - the realm
Returns:
the HA1 value


Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.