com.sun.identity.authentication.spi
クラス HttpCallback

java.lang.Object
  上位を拡張 com.sun.identity.authentication.spi.HttpCallback

public class HttpCallback
extends Object

HttpCallback class implements Callback and is used by the authentication module with HTTP protocol based handshaking negotiation.

関連項目:
直列化された形式

コンストラクタの概要
HttpCallback(String authorizationHeader, String negotiationHeader, String errorCode)
          Creates a HttpCallback object.
HttpCallback(String authRHeader, String negoName, String negoValue, int errorCode)
          Creates a HttpCallback object.
 
メソッドの概要
 String getAuthorizationHeader()
          Returns the authorization header string.
 int getNegotiationCode()
          Returns the negotiation error code.
 String getNegotiationHeaderName()
          Returns the negotiation header name.
 String getNegotiationHeaderValue()
          Returns the negotiation header value.
 

コンストラクタの詳細

HttpCallback

public HttpCallback(String authorizationHeader,
                    String negotiationHeader,
                    String errorCode)
Creates a HttpCallback object.

パラメータ:
authorizationHeader - Header name for the authorization string.
negotiationHeader - Negotiation header string.
errorCode - Error code set in the header for negotiation.

HttpCallback

public HttpCallback(String authRHeader,
                    String negoName,
                    String negoValue,
                    int errorCode)
Creates a HttpCallback object. The negotiation header is constructed using the negotiation name and value in the format negoName:negoValue.

パラメータ:
authRHeader - Header name for the authorization string.
negoName - Negotiation name in the negotiation header.
negoValue - Negotiation value in the negotiation header.
errorCode - Error code set in the header for negotiation.
メソッドの詳細

getAuthorizationHeader

public String getAuthorizationHeader()
Returns the authorization header string.

戻り値:
the authorization header string.

getNegotiationHeaderName

public String getNegotiationHeaderName()
Returns the negotiation header name.

戻り値:
the negotiation header name.

getNegotiationHeaderValue

public String getNegotiationHeaderValue()
Returns the negotiation header value.

戻り値:
the negotiation header value.

getNegotiationCode

public int getNegotiationCode()
Returns the negotiation error code.

戻り値:
the negotiation error code.