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 KerberosTokenDecoder
public void setToken(byte[] token)
setToken
in interface KerberosTokenDecoder
token
- the AP-REQ Kerberos Tokenpublic void setSubject(Subject subject)
setSubject
in interface KerberosTokenDecoder
subject
- the Subjectpublic byte[] getSessionKey() throws KerberosTokenDecoderException
getSessionKey
in interface KerberosTokenDecoder
KerberosTokenDecoderException
public String getClientPrincipalName() throws KerberosTokenDecoderException
KerberosTokenDecoderException
Copyright © 2017 JBoss by Red Hat. All rights reserved.