public abstract class GGSSchemeBase extends AuthSchemeBase
challengeState| Modifier and Type | Method and Description |
|---|---|
Header |
authenticate(Credentials credentials, HttpRequest request)
|
Header |
authenticate(Credentials credentials, HttpRequest request, HttpContext context)
为给定的一组 Credentials生成授权字符串。
|
protected byte[] |
generateGSSToken(byte[] input, Oid oid, String authServer) |
protected byte[] |
generateGSSToken(byte[] input, Oid oid, String authServer, Credentials credentials) |
protected byte[] |
generateToken(byte[] input, String authServer)
|
protected byte[] |
generateToken(byte[] input, String authServer, Credentials credentials) |
protected GSSManager |
getManager() |
boolean |
isComplete()
认证过程可能涉及一系列质询 - 响应交换。
|
protected void |
parseChallenge(CharArrayBuffer buffer, int beginIndex, int endIndex) |
getChallengeState, isProxy, processChallenge, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParameter, getRealm, getSchemeName, isConnectionBasedprotected GSSManager getManager()
protected byte[] generateGSSToken(byte[] input,
Oid oid,
String authServer)
throws GSSException
GSSException
protected byte[] generateGSSToken(byte[] input,
Oid oid,
String authServer,
Credentials credentials)
throws GSSException
GSSException
@Deprecated protected byte[] generateToken(byte[] input, String authServer) throws GSSException
GSSException
protected byte[] generateToken(byte[] input,
String authServer,
Credentials credentials)
throws GSSException
GSSException
public boolean isComplete()
AuthScheme复制
true如果验证过程已经完成,
false否则。
@Deprecated public Header authenticate(Credentials credentials, HttpRequest request) throws AuthenticationException
ContextAwareAuthScheme.authenticate( Credentials, HttpRequest, org.apache.http.protocol.HttpContext)
AuthScheme复制
Credentials生成一个授权字符串。
credentials - 要用于认证的一组凭据
request - 请求被认证
AuthenticationException - 如果由于身份验证失败,无法生成授权字符串
public Header authenticate(Credentials credentials, HttpRequest request, HttpContext context) throws AuthenticationException
ContextAwareAuthScheme复制
Credentials生成授权字符串。
authenticate在接口
ContextAwareAuthScheme
authenticate在
AuthSchemeBase
credentials - 要用于验证的一组凭据
request - 请求被认证
context - HTTP上下文
AuthenticationException - 如果授权字符串由于身份验证失败而无法生成
protected void parseChallenge(CharArrayBuffer buffer, int beginIndex, int endIndex) throws MalformedChallengeException
parseChallenge在
AuthSchemeBase类
MalformedChallengeException
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.