public final class ChallengeRequest extends ChallengeMessage
ChallengeResponse set.QUALITY_AUTHENTICATION, QUALITY_AUTHENTICATION_INTEGRITY| Constructor and Description |
|---|
ChallengeRequest(ChallengeScheme scheme)
Constructor.
|
ChallengeRequest(ChallengeScheme scheme,
String realm)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<Reference> |
getDomainRefs()
Returns the base URI references that collectively define the protected
domains for the digest authentication.
|
List<String> |
getQualityOptions()
Returns the available options for quality of protection.
|
int |
hashCode() |
boolean |
isStale()
Indicates if the previous request from the client was stale.
|
void |
setDomainRefs(List<Reference> domainRefs)
Sets the URI references that define the protection domains for the digest
authentication.
|
void |
setDomainUris(Collection<String> domainUris)
Sets the URI references that define the protection domains for the digest
authentication.
|
void |
setQualityOptions(List<String> qualityOptions)
Sets the available options for quality of protection.
|
void |
setStale(boolean stale)
Indicates if the previous request from the client was stale.
|
getDigestAlgorithm, getOpaque, getParameters, getRawValue, getRealm, getScheme, getServerNonce, setDigestAlgorithm, setOpaque, setParameters, setRawValue, setRealm, setScheme, setServerNoncepublic ChallengeRequest(ChallengeScheme scheme)
scheme - The challenge scheme.public ChallengeRequest(ChallengeScheme scheme, String realm)
scheme - The challenge scheme.realm - The authentication realm.public boolean equals(Object obj)
equals in class ChallengeMessagepublic List<Reference> getDomainRefs()
public List<String> getQualityOptions()
ChallengeMessage.QUALITY_AUTHENTICATION.public int hashCode()
ChallengeMessagehashCode in class ChallengeMessagepublic boolean isStale()
public void setDomainRefs(List<Reference> domainRefs)
domainRefs - The base URI references.public void setDomainUris(Collection<String> domainUris)
CopyOnWriteArrayList instance.domainUris - The base URI references.setDomainRefs(List)public void setQualityOptions(List<String> qualityOptions)
ChallengeMessage.QUALITY_AUTHENTICATION.qualityOptions - The available options for quality of protection.public void setStale(boolean stale)
stale - True if the previous request from the client was stale.Copyright © 2005–2025. All rights reserved.