public class KerberosDetails
extends java.lang.Object
Holds the Kerberos response token and session details about the user.
Constructor and Description |
---|
KerberosDetails(org.ietf.jgss.GSSName source,
org.ietf.jgss.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
|
java.lang.String |
getSourceName()
Return the context initiator for the Kerberos authentication
|
java.lang.String |
getTargetName()
Return the context acceptor for the Kerberos authentication
|
java.lang.String |
getUserName()
Parse the source name to return the user name part only
|
void |
setResponseToken(byte[] tok)
Set the response token
|
java.lang.String |
toString()
Return the Kerberos authentication details as a string
|
public KerberosDetails(org.ietf.jgss.GSSName source, org.ietf.jgss.GSSName target, byte[] response)
source
- GSSNametarget
- GSSNameresponse
- byte[]public final java.lang.String getSourceName()
public final java.lang.String getTargetName()
public final byte[] getResponseToken()
public final void setResponseToken(byte[] tok)
tok
- byte[]public final java.lang.String getUserName()
public final int getResponseLength()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.