Class KerberosContext
- java.lang.Object
-
- com.sun.xml.ws.security.impl.kerberos.KerberosContext
-
public class KerberosContext extends Object
- Author:
- [email protected]
-
-
Constructor Summary
Constructors Constructor Description KerberosContext()
Creates a new instance of KerberosContext
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GSSCredential
getDelegatedCredentials()
GSSContext
getGSSContext()
byte[]
getKerberosToken()
SecretKey
getSecretKey(String algorithm)
void
setGSSContext(GSSContext context)
void
setKerberosToken(byte[] token)
boolean
setOnce()
void
setOnce(boolean setOnce)
void
setSecretKey(byte[] secretKey)
-
-
-
Method Detail
-
setOnce
public void setOnce(boolean setOnce)
-
setOnce
public boolean setOnce()
-
setGSSContext
public void setGSSContext(GSSContext context)
-
getGSSContext
public GSSContext getGSSContext()
-
setKerberosToken
public void setKerberosToken(byte[] token)
-
getKerberosToken
public byte[] getKerberosToken()
-
setSecretKey
public void setSecretKey(byte[] secretKey)
-
getDelegatedCredentials
public GSSCredential getDelegatedCredentials() throws GSSException
- Throws:
GSSException
-
-