Expand my Community achievements bar.

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

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

How to validate SAMLToken(SAMLAuthenticationHandler) from outside aem

Avatar

Level 4

Can someone provide any idea how to validate specific saml token(saml authentication handler) from outside AEM? 

Basically we have an external API which hit an SlingServlet in order to retrieve  AEM content information.  AEM it's integrated with SAML thru Saml Authentication Handler so API need to check saml token is valid or not.

1 Accepted Solution

Avatar

Correct answer by
Level 10

If External application is saml enabled & you do not need to check the sso should take care of it automatically.  The other options are [1] if you follow that in my opinion you are mis using the purpose of SSO.

[1]

Saml response xml is stored in user profile node & make use of it to validate.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

If External application is saml enabled & you do not need to check the sso should take care of it automatically.  The other options are [1] if you follow that in my opinion you are mis using the purpose of SSO.

[1]

Saml response xml is stored in user profile node & make use of it to validate.

Avatar

Level 10

Here is a good Stackoverflow thread that talks about how to use Java to perform this task:

http://stackoverflow.com/questions/16311625/how-to-validate-ws-federation-saml-tokens-with-java-serv...