|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--jain.protocol.ip.sip.Challenge
|
+--jain.protocol.ip.sip.DigestChallenge
This class represents a Digest Authentication scheme Challenge. The meanings of the values of the parameters are as follows:
Challenge,
WWWAuthenticateHeader,
ProxyAuthenticateHeader| Constructor Summary | |
DigestChallenge(java.lang.String realm,
java.lang.String nonce)
Creates a DigestChallenge based on given authentication realm and nonce |
|
| Method Summary | |
java.lang.String |
getAlgorithm()
Gets algorithm of DigestChallenge |
java.net.InetAddress[] |
getDomain()
Gets domain of DigestChallenge |
java.lang.String |
getNonce()
Gets nonce of DigestChallenge |
java.lang.String |
getOpaque()
Gets opaque of DigestChallenge |
java.lang.String[] |
getQop()
Gets qop of DigestChallenge |
boolean |
getStale()
Gets stale of DigestChallenge |
boolean |
hasAlgorithm()
Gets boolean value to indicate if the DigestChallenge has algorithm |
boolean |
hasDomain()
Gets boolean value to indicate if the DigestChallenge has domain |
boolean |
hasOpaque()
Gets boolean value to indicate if the DigestChallenge has opaque |
boolean |
hasQop()
Gets boolean value to indicate if the DigestChallenge has qop |
boolean |
hasStale()
Gets boolean value to indicate if the DigestChallenge has stale |
void |
removeAlgorithm()
Removes algorithm from DigestChallenge |
void |
removeDomain()
Removes domain from DigestChallenge |
void |
removeOpaque()
Removes opaque from DigestChallenge |
void |
removeQop()
Removes qop from DigestChallenge |
void |
removeStale()
Removes stale from DigestChallenge |
void |
setAlgorithm(java.lang.String algorithm)
Sets algorithm of DigestChallenge |
void |
setDomain(java.net.InetAddress[] domain)
Sets domain of DigestChallenge |
void |
setNonce(java.lang.String nonce)
Sets nonce of DigestChallenge |
void |
setOpaque(java.lang.String opaque)
Sets opaque of DigestChallenge |
void |
setQop(java.lang.String[] qop)
Sets qop of DigestChallenge |
void |
setStale(boolean stale)
Sets stale of DigestChallenge |
| Methods inherited from class jain.protocol.ip.sip.Challenge |
clone,
equals,
getExtension,
getExtensions,
getRealm,
getScheme,
hasExtension,
hasExtensions,
removeExtension,
removeExtensions,
setExtension,
setRealm,
setScheme,
toString |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public DigestChallenge(java.lang.String realm,
java.lang.String nonce)
throws java.lang.IllegalArgumentException
realm - authentication realmnonce - nonce| Method Detail |
public void setNonce(java.lang.String nonce)
throws java.lang.IllegalArgumentException
nonce - noncepublic java.lang.String getNonce()
public java.lang.String getOpaque()
throws ParameterNotSetException
public boolean hasOpaque()
public void removeOpaque()
public void setOpaque(java.lang.String opaque)
throws java.lang.IllegalArgumentException
opaque - opaque
public java.net.InetAddress[] getDomain()
throws ParameterNotSetException
public boolean hasDomain()
public void removeDomain()
public void setDomain(java.net.InetAddress[] domain)
throws java.lang.IllegalArgumentException
domain - domain
public java.lang.String[] getQop()
throws ParameterNotSetException
public boolean hasQop()
public void removeQop()
public void setQop(java.lang.String[] qop)
throws java.lang.IllegalArgumentException
qop - qop
public boolean getStale()
throws ParameterNotSetException
public boolean hasStale()
public void removeStale()
public void setStale(boolean stale)
stale - stale
public java.lang.String getAlgorithm()
throws ParameterNotSetException
public boolean hasAlgorithm()
public void removeAlgorithm()
public void setAlgorithm(java.lang.String algorithm)
throws java.lang.IllegalArgumentException
algorithm - algorithm
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright - 2000 Sun Microsystems