Package com.microstrategy.webapi
Class KerberosSession
- java.lang.Object
-
- com.microstrategy.webapi.KerberosSession
-
public class KerberosSession extends java.lang.Object
The class is used for retrieving the ticket for Kerberos authentication by using GSS API. Kerberos authentication is a single sign on authentication mode. For creating a session using Kerberos Authentication, a trust token is needed and used during the session life.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KerberosSession.EnumKerberosMode
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KerberosSession.EnumKerberosMode
getKerberosModeEnvironment()
byte[]
getTicket(java.lang.String _iSPN, org.ietf.jgss.GSSCredential delegCred)
static void
setKerberosModeEnvironment(KerberosSession.EnumKerberosMode m)
Configures Kerberos authentication to obtain credentials viaKerberosSession.EnumKerberosMode.DELEGATION
orKerberosSession.EnumKerberosMode.IMPERSONATION
.
-
-
-
Method Detail
-
getKerberosModeEnvironment
public static KerberosSession.EnumKerberosMode getKerberosModeEnvironment()
-
setKerberosModeEnvironment
public static void setKerberosModeEnvironment(KerberosSession.EnumKerberosMode m)
Configures Kerberos authentication to obtain credentials viaKerberosSession.EnumKerberosMode.DELEGATION
orKerberosSession.EnumKerberosMode.IMPERSONATION
.KerberosSession.EnumKerberosMode.IMPERSONATION
should only be used in IIS - most other scenarios should useKerberosSession.EnumKerberosMode.DELEGATION
.- Parameters:
m
- Mode
-
getTicket
public byte[] getTicket(java.lang.String _iSPN, org.ietf.jgss.GSSCredential delegCred)
-
-