public class KerberosTokenDecoderImpl extends Object implements KerberosTokenDecoder
| Constructor and Description |
|---|
KerberosTokenDecoderImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear all internal information
|
String |
getClientPrincipalName()
Get the client principal name from the decoded service ticket.
|
byte[] |
getSessionKey()
Get the session key from the token
|
void |
setSubject(Subject subject)
Set the Subject
|
void |
setToken(byte[] token)
Set the AP-REQ Kerberos Token
|
public void clear()
clear in interface KerberosTokenDecoderpublic void setToken(byte[] token)
setToken in interface KerberosTokenDecodertoken - the AP-REQ Kerberos Tokenpublic void setSubject(Subject subject)
setSubject in interface KerberosTokenDecodersubject - the Subjectpublic byte[] getSessionKey()
throws KerberosTokenDecoderException
getSessionKey in interface KerberosTokenDecoderKerberosTokenDecoderExceptionpublic String getClientPrincipalName() throws KerberosTokenDecoderException
KerberosTokenDecoderExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.