|
RADIUS Client API (V3) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectClientDigest
RADIUS Digest Authentication system for the client as defined in draft-sterman-aaa-sip-00.txt for SIP and HTTP.
| Constructor Summary | |
ClientDigest(RADIUSClient rc,
AttributeList commonList)
Constructor. |
|
| Method Summary | |
int |
authenticate()
Perform the authentication. |
void |
reset()
Reset authentication. |
void |
set(int tag,
String value)
Set the value by numeric draft-sterman-aaa-sip-00.txt sub-attribute values. |
void |
setAlgorithm(String digestAlgorithm)
|
void |
setBodyDigest(String bodyDigest)
|
void |
setDigestQop(String digestQop,
String cNonce,
String nonceCount)
|
void |
setMethod(String digestMethod)
|
void |
setNonce(String digestNonce)
|
void |
setRealm(String digestRealm)
|
void |
setResponse(String digestResponse)
|
void |
setURI(String digestURI)
|
void |
setUserName(String digestUsername)
|
| Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ClientDigest(RADIUSClient rc,
AttributeList commonList)
rc - RADIUSClient.commonList - Attributes to be sent with each request.| Method Detail |
public void reset()
throws SocketException
SocketException
public void set(int tag,
String value)
1 Realm 2 Nonce 3 Method 4 URI 5 QOP 6 Algorithm 7 Body-Digest 8 CNonce 9 Nonce-Count 10 User-Name
tag - Sub-attribute tag number. If the tag number is outside the limits of 1 to 10
it is ignored.value - Value.public void setRealm(String digestRealm)
public void setNonce(String digestNonce)
public void setMethod(String digestMethod)
public void setURI(String digestURI)
public void setDigestQop(String digestQop,
String cNonce,
String nonceCount)
public void setAlgorithm(String digestAlgorithm)
public void setBodyDigest(String bodyDigest)
public void setUserName(String digestUsername)
public void setResponse(String digestResponse)
public int authenticate()
throws RADIUSException,
ClientSendException,
ClientReceiveException
RADIUSException - if the packet verification failed.
ClientSendException - if the packet could not be sent..
ClientReceiveException - if the response was not received in time.
|
RADIUS Client API (V3) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||