public class KerberosDetails extends Object
Holds the Kerberos response token and session details about the user.
Constructor and Description |
---|
KerberosDetails(GSSName source,
GSSName target,
byte[] response)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getResponseLength()
Return the response token length
|
byte[] |
getResponseToken()
Return the Kerberos response token
|
String |
getSourceName()
Return the context initiator for the Kerberos authentication
|
String |
getTargetName()
Return the context acceptor for the Kerberos authentication
|
String |
getUserName()
Parse the source name to return the user name part only
|
void |
setResponseToken(byte[] tok)
Set the response token
|
String |
toString()
Return the Kerberos authentication details as a string
|
public final String getSourceName()
public final String getTargetName()
public final byte[] getResponseToken()
public final void setResponseToken(byte[] tok)
tok
- byte[]public final String getUserName()
public final int getResponseLength()
Copyright © 2005–2017 Alfresco Software. All rights reserved.