public class KrbAuthContext extends AuthContext
Constructor and Description |
---|
KrbAuthContext()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasDebug()
Check if debug output is enabled
|
byte[] |
parseKerberosApRep(byte[] respTok)
Parse the Kerberos AP-REP and return the updated response
|
void |
parseKerberosApReq(javax.security.auth.Subject subj,
KerberosApReq apReq)
Parse the AP-REQ blob to extract the encypted ticket and authenticator
|
void |
setDebug(boolean ena)
Enable/disable debug output
|
java.lang.String |
toString()
Return the Kerberos authentication context details as a string
|
public final void parseKerberosApReq(javax.security.auth.Subject subj, KerberosApReq apReq) throws java.io.IOException
subj
- SubjectapReq
- KerberosApReqjava.io.IOException
public final byte[] parseKerberosApRep(byte[] respTok) throws java.lang.Exception
respTok
- byte[]java.lang.Exception
public final boolean hasDebug()
public final void setDebug(boolean ena)
ena
- booleanpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.