public class KerberosApReq extends Object
Modifier and Type | Field and Description |
---|---|
static int |
APOptionMutualAuthReq |
static int |
APOptionUseSessionKey |
Constructor and Description |
---|
KerberosApReq()
Default constructor
|
KerberosApReq(byte[] blob)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getAPOptions()
Return the APOptions
|
byte[] |
getAuthenticator()
Return the authenticator encrypted data block
|
int |
getAuthenticatorEncType()
Return the authenticator encryption type
|
int |
getAuthenticatorKeyVersion()
Return the authenticator key version number
|
byte[] |
getTicket()
Return the ticket
|
boolean |
hasMutualAuthentication()
Check if the mutual authentication required option is enabled
|
void |
parseMechToken(byte[] mechToken)
Parse a mech token to get the AP-REQ
|
String |
toString()
Return the AP-REQ as a string
|
boolean |
useSessionKey()
Check if the use session key option is enabled
|
public static final int APOptionUseSessionKey
public static final int APOptionMutualAuthReq
public KerberosApReq()
public KerberosApReq(byte[] blob) throws IOException
blob
- byte[]IOException
public final int getAPOptions()
public final boolean useSessionKey()
public final boolean hasMutualAuthentication()
public final byte[] getTicket()
public final int getAuthenticatorEncType()
public final byte[] getAuthenticator()
public final int getAuthenticatorKeyVersion()
public final void parseMechToken(byte[] mechToken) throws IOException
mechToken
- byte[]IOException
Copyright © 2005–2017 Alfresco Software. All rights reserved.