|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.authentication.spi.HttpCallback
public class HttpCallback
HttpCallback
class implements Callback
and is used by the authentication module with HTTP protocol based
handshaking negotiation.
Constructor Summary | |
---|---|
HttpCallback(String authorizationHeader,
String negotiationHeader,
String errorCode)
Creates a HttpCallback object. |
|
HttpCallback(String authRHeader,
String negoName,
String negoValue,
int errorCode)
Creates a HttpCallback object. |
Method Summary | |
---|---|
String |
getAuthorization()
Returns the authorization string. |
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. |
void |
setAuthorization(String authorization)
Set the authorization string to a HttpCallback object. |
Constructor Detail |
---|
public HttpCallback(String authorizationHeader, String negotiationHeader, String errorCode)
HttpCallback
object.
authorizationHeader
- Header name for the authorization string.negotiationHeader
- Negotiation header string.errorCode
- Error code set in the header for negotiation.public HttpCallback(String authRHeader, String negoName, String negoValue, int errorCode)
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.Method Detail |
---|
public String getAuthorizationHeader()
public String getNegotiationHeaderName()
public String getNegotiationHeaderValue()
public int getNegotiationCode()
public String getAuthorization()
public void setAuthorization(String authorization)
HttpCallback
object.
authorization
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |