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 SummaryNested Classes Modifier and Type Class Description static classADSSOAuthChallenge.Parser- 
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.common.user.AuthChallengeAuthChallenge.AuthChallengeParser
 - 
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.common.config.BasicPropertySetBasicPropertySet.Builder
 
- 
 - 
Field SummaryFields 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.BasicAuthChallengePasswordEnc, UsernameEnc
 - 
Fields inherited from interface com.inductiveautomation.ignition.common.config.PropertySetEMPTY
 
- 
 - 
Constructor SummaryConstructors Constructor Description ADSSOAuthChallenge(java.lang.String username, java.lang.String domain)
 - 
Method SummaryAll 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.BasicAuthChallengecontainsUsernameAndPassword, decrypt, encrypt, getActor, toString
 - 
Methods inherited from class com.inductiveautomation.ignition.common.user.AuthChallengefromJSON, register, set, set, toJSON, unregister
 - 
Methods 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, setRawValueMap
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface com.inductiveautomation.ignition.common.config.MutablePropertyValueSourcemerge
 - 
Methods inherited from interface com.inductiveautomation.ignition.common.config.PropertySetextend, newDefaultInstance, newExtension
 - 
Methods inherited from interface com.inductiveautomation.ignition.common.config.PropertyValueSourcegetNonNull, getNonNull
 
- 
 
- 
- 
- 
Method Detail- 
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<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 have- NTSystem
 
 
- 
 
-