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 Summary
Nested ClassesNested classes/interfaces inherited from class com.inductiveautomation.ignition.common.user.AuthChallenge
AuthChallenge.AuthChallengeParserNested classes/interfaces inherited from class com.inductiveautomation.ignition.common.config.BasicPropertySet
BasicPropertySet.Builder -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class com.inductiveautomation.ignition.common.user.BasicAuthChallenge
PasswordEnc, UsernameEncFields inherited from interface com.inductiveautomation.ignition.common.config.PropertySet
EMPTY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.inductiveautomation.ignition.common.user.BasicAuthChallenge
containsUsernameAndPassword, decrypt, encrypt, getActor, toStringMethods inherited from class com.inductiveautomation.ignition.common.user.AuthChallenge
fromJSON, register, set, set, toJSON, unregisterMethods 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, setRawValueMapMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface com.inductiveautomation.ignition.common.config.MutablePropertyValueSource
mergeMethods inherited from interface com.inductiveautomation.ignition.common.config.PropertySet
extend, newDefaultInstance, newExtensionMethods inherited from interface com.inductiveautomation.ignition.common.config.PropertyValueSource
getNonNull, getNonNull
-
Field Details
-
ADDomain
-
ADDomainEnc
-
-
Constructor Details
-
ADSSOAuthChallenge
-
-
Method Details
-
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<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 haveNTSystem
-