Class SsoHelper
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.authentication.impl.SsoHelper
-
public class SsoHelper extends java.lang.Object
This class has the logic used by all 3 AD user sources to handle a single-sign-on (SSO) request. If SSO is disabled or the login request isn't SSO, this helper merely calls back into the AD user source to do it's normal authentication logic.
-
-
Constructor Summary
Constructors Constructor Description SsoHelper(SSOCompatibleADUserSource userSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticatedUser
authenticate(AuthChallenge challenge)
protected AuthenticatedUser
authenticateAdSso(AuthChallenge challenge)
void
setDomain(java.lang.String domain)
void
setEnabled(boolean enabled)
-
-
-
Field Detail
-
log
protected LoggerEx log
-
-
Constructor Detail
-
SsoHelper
public SsoHelper(SSOCompatibleADUserSource userSource)
-
-
Method Detail
-
authenticate
public AuthenticatedUser authenticate(AuthChallenge challenge) throws java.lang.Exception
- Throws:
java.lang.Exception
-
authenticateAdSso
protected AuthenticatedUser authenticateAdSso(AuthChallenge challenge) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setEnabled
public void setEnabled(boolean enabled)
-
setDomain
public void setDomain(java.lang.String domain)
-
-