내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Encrypt password from UI and decrypt from Java

Avatar

Level 4

Hi all,

 

How do we encrypt the password from UI and decrypt in my backend servlet? Are there any OOTB features to do so?

 

Best Regards,

Kiruthiga

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

OOTB, it is possible to encrypt and decrypt at the backend using https://sling.apache.org/documentation/bundles/commons-crypto.html

You can't do that from UI to backend or use public and private key encryption.

 

Arun Patidar

AEM LinksLinkedIn

원본 게시물의 솔루션 보기

3 답변 개

Avatar

정확한 답변 작성자:
Community Advisor

OOTB, it is possible to encrypt and decrypt at the backend using https://sling.apache.org/documentation/bundles/commons-crypto.html

You can't do that from UI to backend or use public and private key encryption.

 

Arun Patidar

AEM LinksLinkedIn

Avatar

Level 4

is there a way to encrypt from UI in the POST request and decrypt the same from backend?

Avatar

Community Advisor

You can't do encryption but you can encode and decode using any encoding algo

example : https://www.javatpoint.com/java-base64-encode-decode  

Arun Patidar

AEM LinksLinkedIn