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,- Serializable,- Iterable<PropertyValue>
- Direct Known Subclasses:
- ADSSOAuthChallenge,- BadgeAuthChallenge
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class com.inductiveautomation.ignition.common.user.AuthChallengeAuthChallenge.AuthChallengeParserNested classes/interfaces inherited from class com.inductiveautomation.ignition.common.config.BasicPropertySetBasicPropertySet.Builder
- 
Field SummaryFieldsModifier and TypeFieldDescriptionFields inherited from interface com.inductiveautomation.ignition.common.config.PropertySetEMPTY
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedUsed from the parser - not publicBasicAuthChallenge(String username, String password) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanConvenience method to see if this is a standard login attemptvoiddecrypt()Called after transport, before authentication.protected voidvoidencrypt()Prepare this auth challenge for transport.protected voidEncrypts the value of plain storing it in ciphergetActor()Return a string representation of the "actor" this auth challenge represents (e.g.toString()Methods inherited from class com.inductiveautomation.ignition.common.user.AuthChallengefromJSON, register, set, set, toJSON, unregisterMethods 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, setRawValueMapMethods 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
- 
Field Details- 
UsernameEnc
- 
PasswordEnc
 
- 
- 
Constructor Details- 
BasicAuthChallenge
- 
BasicAuthChallengeprotected BasicAuthChallenge()Used from the parser - not public
 
- 
- 
Method Details- 
getActorDescription 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
 
- 
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
 
- 
encryptEncrypts the value of plain storing it in cipher
- 
decrypt
 
-