Class MechanismConfiguration

  • All Implemented Interfaces:
    com.portwise.core.storage.Containable, com.portwise.core.storage.SecurityEntityInterface, java.io.Serializable

    public class MechanismConfiguration
    extends java.lang.Object
    implements com.portwise.core.storage.Containable, com.portwise.core.storage.SecurityEntityInterface
    This persistent class holds key and value pairs for an authentication method.
    See Also:
    Serialized Form
    • Constructor Detail

      • MechanismConfiguration

        public MechanismConfiguration()
        Constructs a new empty MechanismConfiguration instance.
      • MechanismConfiguration

        public MechanismConfiguration​(java.lang.String key,
                                      java.lang.String value)
        Constructs a new MechanismConfiguration instance with the specified key and value.
        Parameters:
        key - The key.
        value - The value.
    • Method Detail

      • getKey

        public java.lang.String getKey()
        Returns the key.
        Returns:
        The key.
      • setKey

        public void setKey​(java.lang.String key)
        Sets the key.
        Parameters:
        key - The key.
      • getValue

        public java.lang.String getValue()
        Returns the value.
        Returns:
        The value.
      • setValue

        public void setValue​(java.lang.String value)
        Sets the value.
        Parameters:
        value - The value.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()
      • getEncryptedFieldNames

        public java.lang.String[] getEncryptedFieldNames​(int encryptionMethod)
        Specified by:
        getEncryptedFieldNames in interface com.portwise.core.storage.SecurityEntityInterface
        See Also:
        SecurityEntityInterface.getEncryptedFieldNames(int)
      • initialized

        public void initialized()
        Specified by:
        initialized in interface com.portwise.core.storage.Containable
        See Also:
        Containable.initialized()
      • getSecurityEntityException

        public com.portwise.core.storage.SecurityEntityException getSecurityEntityException()
        Specified by:
        getSecurityEntityException in interface com.portwise.core.storage.SecurityEntityInterface
      • setSecurityEntityException

        public void setSecurityEntityException​(com.portwise.core.storage.SecurityEntityException e)
        Specified by:
        setSecurityEntityException in interface com.portwise.core.storage.SecurityEntityInterface
      • beforeStore

        public void beforeStore()
        Specified by:
        beforeStore in interface com.portwise.core.storage.Containable