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,- Serializable,- Iterable<PropertyValue>
Auth challenge that contains a username and AD domain to attempt an SSO login
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class com.inductiveautomation.ignition.common.user.AuthChallengeAuthChallenge.AuthChallengeParserNested classes/interfaces inherited from class com.inductiveautomation.ignition.common.config.BasicPropertySetBasicPropertySet.Builder
- 
Field SummaryFieldsModifier and TypeFieldDescriptionFields inherited from class com.inductiveautomation.ignition.common.user.BasicAuthChallengePasswordEnc, UsernameEncFields inherited from interface com.inductiveautomation.ignition.common.config.PropertySetEMPTY
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class com.inductiveautomation.ignition.common.user.BasicAuthChallengecontainsUsernameAndPassword, decrypt, encrypt, getActor, toStringMethods inherited from class com.inductiveautomation.ignition.common.user.AuthChallengefromJSON, register, set, set, toJSON, unregisterMethods inherited from class com.inductiveautomation.ignition.common.config.BasicPropertySetaddPropertyChangeListener, addPropertyChangeListener, change, coerceValue, contains, equals, firePropertyChange, get, getCount, getExtension, getOrDefault, getOrElse, getProperties, getRaw, getRawValueMap, getValues, isExtended, isInherited, iterator, of, remove, removePropertyChangeListener, removePropertyChangeListener, setDirect, setImpl, setRawValueMapMethods inherited from class java.lang.Objectclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliteratorMethods inherited from interface com.inductiveautomation.ignition.common.config.MutablePropertyValueSourcemergeMethods inherited from interface com.inductiveautomation.ignition.common.config.PropertySetextend, newDefaultInstance, newExtensionMethods inherited from interface com.inductiveautomation.ignition.common.config.PropertyValueSourcegetNonNull, getNonNull
- 
Field Details- 
ADDomain
- 
ADDomainEnc
 
- 
- 
Constructor Details- 
ADSSOAuthChallenge
 
- 
- 
Method Details- 
encryptpublic 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 class- BasicAuthChallenge
 
- 
decryptpublic 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 class- BasicAuthChallenge
 
- 
getSSOUsernameAndDomainpublic static org.apache.commons.lang3.tuple.Pair<String,String> getSSOUsernameAndDomain() throws UnsupportedOperationExceptionUtility method to grab the current active directory username and domain name. Will fail on anything but Windows, of course.- Throws:
- 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 have- NTSystem
 
 
-