Package com.jcraft.jsch.jgss
Class GSSContextKrb5
- java.lang.Object
-
- com.jcraft.jsch.jgss.GSSContextKrb5
-
- All Implemented Interfaces:
GSSContext
public class GSSContextKrb5 extends java.lang.Object implements GSSContext
-
-
Field Summary
Fields Modifier and Type Field Description private org.ietf.jgss.GSSContext
context
private static java.lang.String
pUseSubjectCredsOnly
private static java.lang.String
useSubjectCredsOnly
-
Constructor Summary
Constructors Constructor Description GSSContextKrb5()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(java.lang.String user, java.lang.String host)
void
dispose()
byte[]
getMIC(byte[] message, int s, int l)
private static java.lang.String
getSystemProperty(java.lang.String key)
byte[]
init(byte[] token, int s, int l)
boolean
isEstablished()
private static void
setSystemProperty(java.lang.String key, java.lang.String value)
-
-
-
Field Detail
-
pUseSubjectCredsOnly
private static final java.lang.String pUseSubjectCredsOnly
- See Also:
- Constant Field Values
-
useSubjectCredsOnly
private static java.lang.String useSubjectCredsOnly
-
context
private org.ietf.jgss.GSSContext context
-
-
Method Detail
-
create
public void create(java.lang.String user, java.lang.String host) throws JSchException
- Specified by:
create
in interfaceGSSContext
- Throws:
JSchException
-
isEstablished
public boolean isEstablished()
- Specified by:
isEstablished
in interfaceGSSContext
-
init
public byte[] init(byte[] token, int s, int l) throws JSchException
- Specified by:
init
in interfaceGSSContext
- Throws:
JSchException
-
getMIC
public byte[] getMIC(byte[] message, int s, int l)
- Specified by:
getMIC
in interfaceGSSContext
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceGSSContext
-
getSystemProperty
private static java.lang.String getSystemProperty(java.lang.String key)
-
setSystemProperty
private static void setSystemProperty(java.lang.String key, java.lang.String value)
-
-