Class BasicAuthChallenge
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.config.BasicPropertySet
- 
- com.inductiveautomation.ignition.common.user.AuthChallenge
- 
- com.inductiveautomation.ignition.common.user.BasicAuthChallenge
 
 
 
- 
- All Implemented Interfaces:
- Countable,- Extendable<PropertySet>,- Mergable<PropertySet>,- MutablePropertyValueSource,- ObservablePropertySet,- PropertySet,- PropertyValueSource,- java.io.Serializable,- java.lang.Iterable<PropertyValue>
 - Direct Known Subclasses:
- ADSSOAuthChallenge,- BadgeAuthChallenge
 
 public class BasicAuthChallenge extends AuthChallenge - See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classBasicAuthChallenge.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>PasswordEncstatic Property<java.lang.String>UsernameEnc- 
Fields inherited from interface com.inductiveautomation.ignition.common.config.PropertySetEMPTY
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBasicAuthChallenge()Used from the parser - not publicBasicAuthChallenge(java.lang.String username, java.lang.String password)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsUsernameAndPassword()Convenience method to see if this is a standard login attemptvoiddecrypt()Called after transport, before authentication.protected voiddecrypt(Property<java.lang.String> plain, Property<java.lang.String> cipher)voidencrypt()Prepare this auth challenge for transport.protected voidencrypt(Property<java.lang.String> plain, Property<java.lang.String> cipher)Encrypts the value of plain storing it in cipherjava.lang.StringgetActor()Return a string representation of the "actor" this auth challenge represents (e.g.java.lang.StringtoString()- 
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- 
getActorpublic java.lang.String getActor() Description copied from class:AuthChallengeReturn a string representation of the "actor" this auth challenge represents (e.g. a username)- Specified by:
- getActorin class- AuthChallenge
 
 - 
containsUsernameAndPasswordpublic boolean containsUsernameAndPassword() Description copied from class:AuthChallengeConvenience method to see if this is a standard login attempt- Specified by:
- containsUsernameAndPasswordin class- AuthChallenge
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- BasicPropertySet
 
 - 
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.- Specified by:
- encryptin class- AuthChallenge
 
 - 
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- Specified by:
- decryptin class- AuthChallenge
 
 - 
encryptprotected void encrypt(Property<java.lang.String> plain, Property<java.lang.String> cipher) Encrypts the value of plain storing it in cipher
 
- 
 
-