Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Programmatically calling SAML

Avatar

Level 1

we have a usecase to do dynmically check the SAML authentication for a page. The page will get dynamic assetpath from the selector from url. based on the asset path we need to do saml authentication.

 

We dont want to add the path in saml config in configMgr because the page will act as public for anonymous user and sometime not

 

we do saml authentication for azure and below is the format.

https://login.microsoftonline.com/xxxxxxxxxxxxxxxxxxxx/saml2

 

what is the better way to handle.

Any sample java code to do saml authentication would be appreciated.

 

 

1 Accepted Solution

Avatar

Correct answer by
Level 9

@saibul2 

You can try to create a custom authentication handler that extends the default SAML authentication handler.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 9

@saibul2 

You can try to create a custom authentication handler that extends the default SAML authentication handler.