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.AuthChallengeParser
Nested 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, UsernameEnc
Fields 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, 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 java.lang.Iterable
forEach, spliterator
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
-
Field Details
-
ADDomain
-
ADDomainEnc
-
-
Constructor Details
-
ADSSOAuthChallenge
-
-
Method Details
-
encrypt
public void encrypt()Description copied from class:AuthChallenge
Prepare this auth challenge for transport. After this is called, there should not be any sensitive plaintext information in the property set.- Overrides:
encrypt
in classBasicAuthChallenge
-
decrypt
public void decrypt()Description copied from class:AuthChallenge
Called after transport, before authentication. After this is called, sensitive information may appear in plaintext in this object- Overrides:
decrypt
in 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
-