Class ADSSOAuthChallenge
- java.lang.Object
 - 
- com.inductiveautomation.ignition.common.config.BasicPropertySet
 - 
- com.inductiveautomation.ignition.common.user.AuthChallenge
 - 
- com.inductiveautomation.ignition.common.user.BasicAuthChallenge
 - 
- com.inductiveautomation.ignition.common.user.ADSSOAuthChallenge
 
 
 
 
 
- 
- All Implemented Interfaces:
 Countable,Extendable<PropertySet>,Mergable<PropertySet>,MutablePropertyValueSource,ObservablePropertySet,PropertySet,PropertyValueSource,java.io.Serializable,java.lang.Iterable<PropertyValue>
public class ADSSOAuthChallenge extends BasicAuthChallenge
Auth challenge that contains a username and AD domain to attempt an SSO login- See Also:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classADSSOAuthChallenge.Parser- 
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.common.user.AuthChallenge
AuthChallenge.AuthChallengeParser 
- 
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.common.config.BasicPropertySet
BasicPropertySet.Builder 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description static Property<java.lang.String>ADDomainstatic Property<java.lang.String>ADDomainEnc- 
Fields inherited from class com.inductiveautomation.ignition.common.user.BasicAuthChallenge
PasswordEnc, UsernameEnc 
- 
Fields inherited from interface com.inductiveautomation.ignition.common.config.PropertySet
EMPTY 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ADSSOAuthChallenge(java.lang.String username, java.lang.String domain) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecrypt()Called after transport, before authentication.voidencrypt()Prepare this auth challenge for transport.static org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.String>getSSOUsernameAndDomain()Utility method to grab the current active directory username and domain name.- 
Methods inherited from class com.inductiveautomation.ignition.common.user.BasicAuthChallenge
containsUsernameAndPassword, decrypt, encrypt, getActor, toString 
- 
Methods inherited from class com.inductiveautomation.ignition.common.user.AuthChallenge
fromJSON, register, set, set, toJSON, unregister 
- 
Methods inherited from class com.inductiveautomation.ignition.common.config.BasicPropertySet
addPropertyChangeListener, addPropertyChangeListener, change, coerceValue, contains, equals, firePropertyChange, get, getCount, getExtension, getOrDefault, getOrElse, getProperties, getRaw, getRawValueMap, getValues, isExtended, isInherited, iterator, of, remove, removePropertyChangeListener, removePropertyChangeListener, setDirect, setImpl, setRawValueMap 
- 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface com.inductiveautomation.ignition.common.config.MutablePropertyValueSource
merge 
- 
Methods inherited from interface com.inductiveautomation.ignition.common.config.PropertySet
extend, newDefaultInstance, newExtension 
- 
Methods inherited from interface com.inductiveautomation.ignition.common.config.PropertyValueSource
getNonNull, getNonNull 
 - 
 
 - 
 
- 
- 
Method Detail
- 
encrypt
public void encrypt()
Description copied from class:AuthChallengePrepare this auth challenge for transport. After this is called, there should not be any sensitive plaintext information in the property set.- Overrides:
 encryptin classBasicAuthChallenge
 
- 
decrypt
public void decrypt()
Description copied from class:AuthChallengeCalled after transport, before authentication. After this is called, sensitive information may appear in plaintext in this object- Overrides:
 decryptin classBasicAuthChallenge
 
- 
getSSOUsernameAndDomain
public static org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.String> getSSOUsernameAndDomain() throws java.lang.UnsupportedOperationExceptionUtility method to grab the current active directory username and domain name. Will fail on anything but Windows, of course.- Throws:
 java.lang.UnsupportedOperationException- if it was not possible to get this information, including on any OS other than windows or if running a Java implementation that does not haveNTSystem
 
 - 
 
 -