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.AuthChallengeParser
Nested 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
ConstructorsModifierConstructorDescriptionprotected
Used from the parser - not publicBasicAuthChallenge
(String username, String password) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Convenience method to see if this is a standard login attemptvoid
decrypt()
Called after transport, before authentication.protected void
void
encrypt()
Prepare this auth challenge for transport.protected void
Encrypts 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, 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
-
UsernameEnc
-
PasswordEnc
-
-
Constructor Details
-
BasicAuthChallenge
-
BasicAuthChallenge
protected BasicAuthChallenge()Used from the parser - not public
-
-
Method Details
-
getActor
Description copied from class:AuthChallenge
Return a string representation of the "actor" this auth challenge represents (e.g. a username)- Specified by:
getActor
in classAuthChallenge
-
containsUsernameAndPassword
public boolean containsUsernameAndPassword()Description copied from class:AuthChallenge
Convenience method to see if this is a standard login attempt- Specified by:
containsUsernameAndPassword
in classAuthChallenge
-
toString
- Overrides:
toString
in classBasicPropertySet
-
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.- Specified by:
encrypt
in classAuthChallenge
-
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- Specified by:
decrypt
in classAuthChallenge
-
encrypt
Encrypts the value of plain storing it in cipher -
decrypt
-