Package org.wildfly.security.credential
Class GSSKerberosCredential
- java.lang.Object
- 
- org.wildfly.security.credential.GSSKerberosCredential
 
- 
- All Implemented Interfaces:
- Cloneable,- Credential
 
 public final class GSSKerberosCredential extends Object implements Credential A credential for holding aGSSCredentialand optionally an associatedKerberosTicket.
- 
- 
Field Summary- 
Fields inherited from interface org.wildfly.security.credential.CredentialNO_CREDENTIALS
 
- 
 - 
Constructor SummaryConstructors Constructor Description GSSKerberosCredential(GSSCredential gssCredential)Construct a new instance.GSSKerberosCredential(GSSCredential gssCredential, KerberosTicket kerberosTicket)Construct a new instance.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GSSKerberosCredentialclone()Creates and returns a copy of thisCredential.booleanequals(Object obj)GSSCredentialgetGssCredential()Get the GSS credential.KerberosTicketgetKerberosTicket()Get the associated kerberos ticket.inthashCode()- 
Methods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.wildfly.security.credential.CredentialcanVerify, canVerify, castAndApply, castAndApply, castAndApply, castAs, castAs, castAs, matches, matches, matches, verify, verify
 
- 
 
- 
- 
- 
Constructor Detail- 
GSSKerberosCredentialpublic GSSKerberosCredential(GSSCredential gssCredential) Construct a new instance.- Parameters:
- gssCredential- the GSS credential (may not be- null)
 
 - 
GSSKerberosCredentialpublic GSSKerberosCredential(GSSCredential gssCredential, KerberosTicket kerberosTicket) Construct a new instance.- Parameters:
- gssCredential- the GSS credential (may not be- null)
- kerberosTicket- the associated Kerberos ticket which may be- null.
 
 
- 
 - 
Method Detail- 
getGssCredentialpublic GSSCredential getGssCredential() Get the GSS credential.- Returns:
- the GSS credential (not null)
 
 - 
getKerberosTicketpublic KerberosTicket getKerberosTicket() Get the associated kerberos ticket.- Returns:
- the associated kerberos ticker or nullif one is not associated.
 
 - 
clonepublic GSSKerberosCredential clone() Description copied from interface:CredentialCreates and returns a copy of thisCredential.- Specified by:
- clonein interface- Credential
- Overrides:
- clonein class- Object
- Returns:
- a copy of this Credential.
 
 
- 
 
-