Package org.wildfly.security.credential
Class GSSKerberosCredential
java.lang.Object
org.wildfly.security.credential.GSSKerberosCredential
- All Implemented Interfaces:
Cloneable,Credential
A credential for holding a
GSSCredential and optionally an associated KerberosTicket.-
Field Summary
Fields inherited from interface org.wildfly.security.credential.Credential
NO_CREDENTIALS -
Constructor Summary
ConstructorsConstructorDescriptionGSSKerberosCredential(GSSCredential gssCredential) Construct a new instance.GSSKerberosCredential(GSSCredential gssCredential, KerberosTicket kerberosTicket) Construct a new instance. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates and returns a copy of thisCredential.booleanGet the GSS credential.Get the associated kerberos ticket.inthashCode()Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.security.credential.Credential
canVerify, canVerify, castAndApply, castAndApply, castAndApply, castAs, castAs, castAs, matches, matches, matches, verify, verify
-
Constructor Details
-
GSSKerberosCredential
Construct a new instance.- Parameters:
gssCredential- the GSS credential (may not benull)
-
GSSKerberosCredential
Construct a new instance.- Parameters:
gssCredential- the GSS credential (may not benull)kerberosTicket- the associated Kerberos ticket which may benull.
-
-
Method Details
-
getGssCredential
Get the GSS credential.- Returns:
- the GSS credential (not
null)
-
getKerberosTicket
Get the associated kerberos ticket.- Returns:
- the associated kerberos ticker or
nullif one is not associated.
-
clone
Description copied from interface:CredentialCreates and returns a copy of thisCredential.- Specified by:
clonein interfaceCredential- Overrides:
clonein classObject- Returns:
- a copy of this
Credential.
-
hashCode
public int hashCode() -
equals
-