| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| protected long | |
| protected long | |
| protected boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Principal | Returns: UserPrinciple if authenticated or null if not. If Authentication fails, then the authenticator may have committed the response as an auth challenge or redirect.an realm, String UserRealm valuea pathInContext, Request String valuea request, Response Request valuea response)Response value. If non-null response is passed,
then a failed authentication will result in a challenge response being
set in the response.Implements org. |
| public int | Returns: -1 for a bad nonce, 0 for a stale none, 1 for a good nonce
|
| public String | |
| public long | |
| public long | |
| public boolean | |
| public String | |
| public void | |
| public void | |
| public void | |
| public void |
| maxNonceAge | back to summary |
|---|---|
| protected long maxNonceAge | |
| nonceSecret | back to summary |
|---|---|
| protected long nonceSecret | |
| useStale | back to summary |
|---|---|
| protected boolean useStale | |
| DigestAuthenticator | back to summary |
|---|---|
| public DigestAuthenticator() | |
| authenticate | back to summary |
|---|---|
| public Principal authenticate(UserRealm realm, String pathInContext, Request request, Response response) throws IOException Implements org. Doc from org. Authenticate.
| |
| checkNonce | back to summary |
|---|---|
public int checkNonce(String nonce, Request request)
| |
| getAuthMethod | back to summary |
|---|---|
| public String getAuthMethod() Implements org. | |
| getMaxNonceAge | back to summary |
|---|---|
public long getMaxNonceAge()
| |
| getNonceSecret | back to summary |
|---|---|
public long getNonceSecret()
| |
| getUseStale | back to summary |
|---|---|
| public boolean getUseStale() | |
| newNonce | back to summary |
|---|---|
| public String newNonce(Request request) | |
| sendChallenge | back to summary |
|---|---|
| public void sendChallenge(UserRealm realm, Request request, Response response, boolean stale) throws IOException | |
| setMaxNonceAge | back to summary |
|---|---|
public void setMaxNonceAge(long maxNonceAge)
| |
| setNonceSecret | back to summary |
|---|---|
public void setNonceSecret(long nonceSecret)
| |
| setUseStale | back to summary |
|---|---|
| public void setUseStale(boolean us) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | check(Object
The credential to check against. This may either be
another Credential object, a Password object or a String which is
interpreted by this credential. credentials)Implements abstract org. |
| public String |
| cnonce | back to summary |
|---|---|
| pack-priv String cnonce | |
| method | back to summary |
|---|---|
| pack-priv String method | |
| nc | back to summary |
|---|---|
| pack-priv String nc | |
| nonce | back to summary |
|---|---|
| pack-priv String nonce | |
| qop | back to summary |
|---|---|
| pack-priv String qop | |
| realm | back to summary |
|---|---|
| pack-priv String realm | |
| response | back to summary |
|---|---|
| pack-priv String response | |
| uri | back to summary |
|---|---|
| pack-priv String uri | |
| username | back to summary |
|---|---|
| pack-priv String username | |
| Digest | back to summary |
|---|---|
| pack-priv Digest(String m) | |
| check | back to summary |
|---|---|
| public boolean check(Object credentials) Implements abstract org. Doc from org. Check a credential
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |