Class SecureTokenConverter

java.lang.Object
com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
com.thoughtworks.xstream.converters.basic.StringConverter
com.atlassian.bamboo.serialization.xstream.crypto.SecureTokenConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.ConverterMatcher, com.thoughtworks.xstream.converters.SingleValueConverter

public class SecureTokenConverter extends com.thoughtworks.xstream.converters.basic.StringConverter
  • Constructor Details

    • SecureTokenConverter

      public SecureTokenConverter(@NotNull @NotNull SecretEncryptionService secretEncryptionService)
  • Method Details

    • canConvert

      public boolean canConvert(Class type)
      Specified by:
      canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
      Overrides:
      canConvert in class com.thoughtworks.xstream.converters.basic.StringConverter
    • toString

      public String toString(Object obj)
      Specified by:
      toString in interface com.thoughtworks.xstream.converters.SingleValueConverter
      Overrides:
      toString in class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
    • fromString

      public Object fromString(String str)
      Specified by:
      fromString in interface com.thoughtworks.xstream.converters.SingleValueConverter
      Overrides:
      fromString in class com.thoughtworks.xstream.converters.basic.StringConverter