From: Greg W. <gre...@us...> - 2002-07-31 19:07:05
|
User: gregwilkins Date: 02/07/31 12:07:00 Modified: src/org/mortbay/http DigestAuthenticator.java HashUserRealm.java Log: Renamed Credentials Fixed getRealPath added some accessors for webAppHandler Revision Changes Path 1.2 +3 -3 Jetty/src/org/mortbay/http/DigestAuthenticator.java Index: DigestAuthenticator.java =================================================================== RCS file: /cvsroot/jetty/Jetty/src/org/mortbay/http/DigestAuthenticator.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- DigestAuthenticator.java 26 Jul 2002 16:35:44 -0000 1.1 +++ DigestAuthenticator.java 31 Jul 2002 19:07:00 -0000 1.2 @@ -8,7 +8,7 @@ import java.io.IOException; import org.mortbay.http.SecurityConstraint.Authenticator; import java.security.Principal; -import org.mortbay.util.Credentials; +import org.mortbay.util.Credential; import org.mortbay.util.Code; import org.mortbay.util.StringUtil; import org.mortbay.util.TypeUtil; @@ -145,7 +145,7 @@ /* ------------------------------------------------------------ */ /* ------------------------------------------------------------ */ /* ------------------------------------------------------------ */ - private static class Digest extends Credentials + private static class Digest extends Credential { private static MessageDigest __md; 1.18 +7 -10 Jetty/src/org/mortbay/http/HashUserRealm.java Index: HashUserRealm.java =================================================================== RCS file: /cvsroot/jetty/Jetty/src/org/mortbay/http/HashUserRealm.java,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- HashUserRealm.java 26 Jul 2002 16:35:44 -0000 1.17 +++ HashUserRealm.java 31 Jul 2002 19:07:00 -0000 1.18 @@ -21,7 +21,7 @@ import java.util.Set; import java.util.StringTokenizer; import org.mortbay.util.Code; -import org.mortbay.util.Credentials; +import org.mortbay.util.Credential; import org.mortbay.util.Password; import org.mortbay.util.Resource; @@ -170,10 +170,7 @@ return super .put(name, new KnownUser(name.toString(), - Credentials.getCredentials - (_realmName, - name.toString(), - credentials.toString()))); + Credential.getCredential(credentials.toString()))); return null; } @@ -272,13 +269,13 @@ private class KnownUser extends User { private String _userName; - private Credentials _cred; + private Credential _cred; /* -------------------------------------------------------- */ - KnownUser(String name,Credentials credentials) + KnownUser(String name,Credential credential) { _userName=name; - _cred=credentials; + _cred=credential; } /* -------------------------------------------------------- */ |