Package com.microstrategy.webapi.acm
Class ACMGSSCredential
- java.lang.Object
-
- com.microstrategy.webapi.acm.ACMGSSCredential
-
public class ACMGSSCredential extends java.lang.Object
ACMGSSCredential holds the GSS credentials, which are the credentials needed by the Kerberos server when making a "delegation" call.
By wrapping the GSSCredentials inside ACMGSSCredentials it allows all the components to hold the ACMGSSCredentials object while permiting the inner GSSCredentials to change. Kerberos likes to expire the GSSCredentials periodically and this allows that to change freely. This class also wraps thePrincipal
object obtained from Windows authentication (NTLM) as both NTLM and Kerberos share the same HTTP header WWW-Authenticate lifecycle, but can potentially be from any other authentication mechanism.
-
-
Constructor Summary
Constructors Constructor Description ACMGSSCredential()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.ietf.jgss.GSSCredential
getGSSCredential()
java.security.Principal
getUserPrincipal()
void
setGSSCredential(org.ietf.jgss.GSSCredential iGSSCredential)
void
setUserPrincipal(java.security.Principal iUserPrincipal)
-
-
-
Method Detail
-
getGSSCredential
public org.ietf.jgss.GSSCredential getGSSCredential()
-
setGSSCredential
public void setGSSCredential(org.ietf.jgss.GSSCredential iGSSCredential)
-
getUserPrincipal
public java.security.Principal getUserPrincipal()
-
setUserPrincipal
public void setUserPrincipal(java.security.Principal iUserPrincipal)
-
-