public final class GSSKerberosCredential extends Object implements Credential
GSSCredential
and optionally an associated KerberosTicket
.NO_CREDENTIALS
Constructor and Description |
---|
GSSKerberosCredential(GSSCredential gssCredential)
Construct a new instance.
|
GSSKerberosCredential(GSSCredential gssCredential,
KerberosTicket kerberosTicket)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
GSSKerberosCredential |
clone()
Creates and returns a copy of this
Credential . |
boolean |
equals(Object obj) |
GSSCredential |
getGssCredential()
Get the GSS credential.
|
KerberosTicket |
getKerberosTicket()
Get the associated kerberos ticket.
|
int |
hashCode() |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
canVerify, canVerify, castAndApply, castAndApply, castAndApply, castAs, castAs, castAs, fromKeyStoreEntry, matches, matches, matches, verify, verify
public GSSKerberosCredential(GSSCredential gssCredential)
gssCredential
- the GSS credential (may not be null
)public GSSKerberosCredential(GSSCredential gssCredential, KerberosTicket kerberosTicket)
gssCredential
- the GSS credential (may not be null
)kerberosTicket
- the associated Kerberos ticket which may be null
.public GSSCredential getGssCredential()
null
)public KerberosTicket getKerberosTicket()
null
if one is not associated.public GSSKerberosCredential clone()
Credential
Credential
.clone
in interface Credential
clone
in class Object
Credential
.Copyright © 2017 JBoss by Red Hat. All rights reserved.