jain.protocol.ip.sip
Class BasicChallenge

java.lang.Object
  |
  +--jain.protocol.ip.sip.Challenge
        |
        +--jain.protocol.ip.sip.BasicChallenge

public final class BasicChallenge
extends Challenge

This class represents a Basic Authentication scheme Challenge. It does not add methods or parameters to the Generic Challenge.

Version:
0.6
See Also:
Challenge, WWWAuthenticateHeader, ProxyAuthenticateHeader

Constructor Summary
BasicChallenge(java.lang.String realm)
          Creates a BasicChallenge based on given authentication realm
 
Method Summary
 java.lang.Object clone()
          Creates and returns a copy of BasicChallenge
 
Methods inherited from class jain.protocol.ip.sip.Challenge
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

BasicChallenge

public BasicChallenge(java.lang.String realm)
               throws java.lang.IllegalArgumentException
Creates a BasicChallenge based on given authentication realm
Parameters:
realm - authentication realm
Throws:
java.lang.IllegalArgumentException - if realm is null or zero-length
Method Detail

clone

public java.lang.Object clone()
Creates and returns a copy of BasicChallenge
Overrides:
clone in class Challenge
Returns:
copy of BasicChallenge


If you have any comments or queries, please mail them to JAIN-SIP-interest@sun.com


Copyright - 2000 Sun Microsystems