- 
- All Superinterfaces:
- Cloneable,- GSSCredential
 
 public interface ExtendedGSSCredential extends GSSCredential The extended GSSCredential interface for supporting additional functionalities not defined byorg.ietf.jgss.GSSCredential.- Since:
- 1.8
 
- 
- 
Field Summary- 
Fields declared in interface org.ietf.jgss.GSSCredentialACCEPT_ONLY, DEFAULT_LIFETIME, INDEFINITE_LIFETIME, INITIATE_AND_ACCEPT, INITIATE_ONLY
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description GSSCredentialimpersonate(GSSName name)Impersonates a principal.- 
Methods declared in interface org.ietf.jgss.GSSCredentialadd, dispose, equals, getMechs, getName, getName, getRemainingAcceptLifetime, getRemainingInitLifetime, getRemainingLifetime, getUsage, getUsage, hashCode
 
- 
 
- 
- 
- 
Method Detail- 
impersonateGSSCredential impersonate(GSSName name) throws GSSException Impersonates a principal. In Kerberos, this can be implemented using the Microsoft S4U2self extension.A GSSException.NO_CREDwill be thrown if the impersonation fails. AGSSException.FAILUREwill be thrown if the impersonation method is not available to this credential object.- Parameters:
- name- the name of the principal to impersonate
- Returns:
- a credential for that principal
- Throws:
- GSSException- containing the following major error codes:- GSSException.NO_CRED- GSSException.FAILURE
 
 
- 
 
-