Class AuthChallenge
java.lang.Object
com.inductiveautomation.ignition.common.config.BasicPropertySet
com.inductiveautomation.ignition.common.user.AuthChallenge
- All Implemented Interfaces:
- Countable,- Extendable<PropertySet>,- Mergable<PropertySet>,- MutablePropertyValueSource,- ObservablePropertySet,- PropertySet,- PropertyValueSource,- Serializable,- Iterable<PropertyValue>
- Direct Known Subclasses:
- BasicAuthChallenge
An authentication challenge represents an attempt to log-in. This may contain a username and password, but could be
 something else, for example a badge swipe. Due to serialization requirements, all auth challenge properties must be
 string properties.
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class com.inductiveautomation.ignition.common.config.BasicPropertySetBasicPropertySet.Builder
- 
Field SummaryFields inherited from interface com.inductiveautomation.ignition.common.config.PropertySetEMPTY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract booleanConvenience method to see if this is a standard login attemptabstract voiddecrypt()Called after transport, before authentication.abstract voidencrypt()Prepare this auth challenge for transport.static AuthChallengeabstract StringgetActor()Return a string representation of the "actor" this auth challenge represents (e.g.static void<T> voidvoidset(PropertyValue propValue) toJSON()static voidMethods 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, toStringMethods 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
- 
Constructor Details- 
AuthChallengepublic AuthChallenge()
 
- 
- 
Method Details- 
register
- 
unregister
- 
fromJSON- Throws:
- IllegalArgumentException
 
- 
containsUsernameAndPasswordpublic abstract boolean containsUsernameAndPassword()Convenience method to see if this is a standard login attempt
- 
getActorReturn a string representation of the "actor" this auth challenge represents (e.g. a username)
- 
encryptpublic abstract void encrypt()Prepare this auth challenge for transport. After this is called, there should not be any sensitive plaintext information in the property set.
- 
decryptpublic abstract void decrypt()Called after transport, before authentication. After this is called, sensitive information may appear in plaintext in this object
- 
set- Specified by:
- setin interface- MutablePropertyValueSource
- Overrides:
- setin class- BasicPropertySet
 
- 
set- Specified by:
- setin interface- MutablePropertyValueSource
- Overrides:
- setin class- BasicPropertySet
 
- 
toJSON
 
-