org.sblim.cimclient.internal.http

Class Challenge

public class Challenge extends Object

Class Challenge holds a http authentication challenge
Method Summary
HttpHeadergetParams()
Returns the parameters
StringgetRealm()
Returns the realm
StringgetScheme()
Returns the scheme
static Challenge[]parseChallenge(String pLine)
Parses the challenge as received from the host

Method Detail

getParams

public HttpHeader getParams()
Returns the parameters

Returns: The parameters

getRealm

public String getRealm()
Returns the realm

Returns: The realm

getScheme

public String getScheme()
Returns the scheme

Returns: The scheme

parseChallenge

public static Challenge[] parseChallenge(String pLine)
Parses the challenge as received from the host

Parameters: pLine The challenge string

Returns: The parsed challenge

Throws: HttpParseException If the challenge string is ill-formed

Copyright © 2005, 2010 IBM Corporation. All Rights Reserved.