com.sun.identity.authentication.spi
Class  HttpCallback
java.lang.Object
  |
  +--com.sun.identity.authentication.spi.HttpCallback
- All Implemented Interfaces: 
- javax.security.auth.callback.Callback, java.io.Serializable
- public class HttpCallback- extends java.lang.Object- implements javax.security.auth.callback.Callback, java.io.Serializable
This HttpCallback class implements Callback
 and is used by the authentication module with HTTP protocol based
 handshaking negotiation.
- See Also: 
- Serialized Form
| Constructor Summary | 
| HttpCallback(java.lang.String authorizationHeader,
             java.lang.String negotiationHeader,
             java.lang.String errorCode)Constructs a
 HttpCallbackobject. | 
| HttpCallback(java.lang.String authRHeader,
             java.lang.String negoName,
             java.lang.String negoValue,
             int errorCode)Constructs a
 HttpCallbackobject. | 
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
HttpCallback
public HttpCallback(java.lang.String authorizationHeader,
                    java.lang.String negotiationHeader,
                    java.lang.String errorCode)
- Constructs a HttpCallbackobject.
- 
- Parameters:
- authorizationHeader- Header name for the authorization string.
- negotiationHeader- Negotiation header string.
- errorCode- Error code set in the header for negotiation.
 
HttpCallback
public HttpCallback(java.lang.String authRHeader,
                    java.lang.String negoName,
                    java.lang.String negoValue,
                    int errorCode)
- Constructs a HttpCallbackobject.
 The negotiation header is constructed using the
 negotiation name and value in the formatnegoName:negoValue.
- 
- Parameters:
- 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 java.lang.String getAuthorizationHeader()
- Returns the authorization header string.- 
 
- 
- Returns:
- the authorization header string.
 
getNegotiationHeaderName
public java.lang.String getNegotiationHeaderName()
- Returns the negotiation header name.- 
 
- 
- Returns:
- the negotiation header name.
 
getNegotiationHeaderValue
public java.lang.String getNegotiationHeaderValue()
- Returns the negotiation header value.- 
 
- 
- Returns:
- the negotiation header value.
 
getNegotiationCode
public int getNegotiationCode()
- Returns the negotiation error code.- 
 
- 
- Returns:
- the negotiation error code.
 
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.