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 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 interface com.inductiveautomation.ignition.common.config.PropertySet
EMPTY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUsed from the parser - not publicBasicAuthChallenge(String username, String password) -
Method Summary
Modifier 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.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
-
UsernameEnc
-
PasswordEnc
-
-
Constructor Details
-
BasicAuthChallenge
-
BasicAuthChallenge
protected BasicAuthChallenge()Used from the parser - not public
-
-
Method Details
-
getActor
Description copied from class:AuthChallengeReturn a string representation of the "actor" this auth challenge represents (e.g. a username)- Specified by:
getActorin classAuthChallenge
-
containsUsernameAndPassword
public boolean containsUsernameAndPassword()Description copied from class:AuthChallengeConvenience method to see if this is a standard login attempt- Specified by:
containsUsernameAndPasswordin classAuthChallenge
-
toString
- Overrides:
toStringin classBasicPropertySet
-
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.- Specified by:
encryptin classAuthChallenge
-
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- Specified by:
decryptin classAuthChallenge
-
encrypt
Encrypts the value of plain storing it in cipher -
decrypt
-