Skip to Content
1
Dec 28, 2018 at 12:15 PM

Plain text is displayed in backoffice instead of encrypted value after encrypted="true"

366 Views

I have to encrypt a field value which is of type String. Below is the declaration:

 <attribute qualifier="value" type="java.lang.String">
   <persistence type="property">
         <columntype>
             <value>HYBRIS.LONG_STRING</value>
         </columntype>
     </persistence>
   <modifiers encrypted="true"/>
 </attribute>

When I see this field in Backoffice, it displays as plain text but if I search this using the flexible search then I see the encrypted value. I want this encrypted value to be displayed in Backoffice but not the plain text. I see that in OOTB for some attributes with encrypted="true" , the encrypted value is displayed in Backoffice. Am I missing anything? Thanks in advance.