Package com.kerb4j.client
Class SpnegoContext
java.lang.Object
com.kerb4j.client.SpnegoContext
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]acceptToken(byte[] token) voidclose()byte[]booleanbyte[]processMutualAuthorization(byte[] data, int offset, int length) void
-
Constructor Details
-
SpnegoContext
-
-
Method Details
-
requestCredentialsDelegation
- Throws:
GSSException
-
createToken
- Throws:
PrivilegedActionException
-
createTokenAsAuthroizationHeader
- Throws:
PrivilegedActionException
-
processMutualAuthorization
public byte[] processMutualAuthorization(byte[] data, int offset, int length) throws PrivilegedActionException - Throws:
PrivilegedActionException
-
acceptToken
- Throws:
GSSException
-
getSrcName
- Throws:
GSSException
-
getGSSContext
-
isEstablished
public boolean isEstablished() -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-