| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private static volatile SecureRandom | |
| private static final Object | |
| private int | |
| public static final String | |
| private static final StringManager |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private String | |
| private String | |
| public String | getAuthorization(String
The request URI requestUri, String The server authentication header received authenticateHeader, String The user name userName, String The user password userPassword, String The realm for which the provided user name and password are valid. userRealm)null to
indicate all realms.Implements abstract org. Generate the authorization header value that will be sent to the server. |
| public String | getSchemeName()
Implements abstract org. Get the authentication method. |
| cNonce | back to summary |
|---|---|
| private long cNonce | |
| cnonceGenerator | back to summary |
|---|---|
| private static volatile SecureRandom cnonceGenerator | |
| cnonceGeneratorLock | back to summary |
|---|---|
| private static final Object cnonceGeneratorLock | |
| nonceCount | back to summary |
|---|---|
| private int nonceCount | |
| schemeName | back to summary |
|---|---|
| public static final String schemeName | |
| sm | back to summary |
|---|---|
| private static final StringManager sm | |
| DigestAuthenticator | back to summary |
|---|---|
| public DigestAuthenticator() | |
| calculateRequestDigest | back to summary |
|---|---|
| private String calculateRequestDigest(String requestUri, String userName, String password, String realm, String nonce, String qop, String algorithm) throws NoSuchAlgorithmException | |
| encode | back to summary |
|---|---|
| private String encode(String algorithm, String value) throws NoSuchAlgorithmException | |
| getAuthorization | back to summary |
|---|---|
| public String getAuthorization(String requestUri, String authenticateHeader, String userName, String userPassword, String userRealm) throws AuthenticationException Implements abstract org. Doc from org. Generate the authorization header value that will be sent to the server.
| |
| getSchemeName | back to summary |
|---|---|
| public String getSchemeName() Implements abstract org. Doc from org. Get the authentication method. | |