public class KerberosContext extends Object
KerberosClientExceptionAction.
The secret key might be null, in which case it must be obtained from the current subject's
KerberosTicket private credential.| Constructor and Description |
|---|
KerberosContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Destroys all data held in this context instance.
|
GSSContext |
getGssContext() |
byte[] |
getKerberosToken() |
Key |
getSecretKey() |
boolean |
isDisposed()
Checks if this context instance is already destroyed.
|
void |
setGssContext(GSSContext gssContext) |
void |
setKerberosToken(byte[] kerberosToken) |
void |
setSecretKey(Key secretKey) |
public byte[] getKerberosToken()
IllegalStateException - If this context was already disposed.public void setKerberosToken(byte[] kerberosToken)
public Key getSecretKey()
KerberosTicket private credential.IllegalStateException - If this context was already disposed.javax.security.auth.kerberos.KerberosTicket#getSessionKey()}public void setSecretKey(Key secretKey)
public GSSContext getGssContext()
IllegalStateException - If this context was already disposed.public void setGssContext(GSSContext gssContext)
public void dispose()
public boolean isDisposed()
Copyright © 2016 JBoss by Red Hat. All rights reserved.