AuthenticationInfoPostProcessor for saml sso for aem6.5 with login | Adobe Higher Education
Skip to main content
srinivas_chann1
Level 7
May 7, 2022

AuthenticationInfoPostProcessor for saml sso for aem6.5 with login

  • May 7, 2022
  • 1 Antwort
  • 971 Ansichten

Hi ,

I would want inputs as how the AuthenticationInfoPostProcessor  will get invoked  for 

capturing saml response in java code using aem6.5.

 

If implement an component like below 

 

@Component(immediate = true, metatype = false)
@Service
public class SAMLResponsePostProcessor implements AuthenticationInfoPostProcessor {

1>Need inputs as How will this component be invoked by saml response after login.

 

I see entries in our code base like 

com.adobe.granite.auth.saml.SamlAuthenticationHandler-app1.xml  , we have like this 4 apps,I meant app1,app2,app3,app4.

 

I also see the as soon as the user logs in it creates a Node for the user details under /home with rep:user.

 

But don't see any entries in com.adobe.granite.auth.saml.SamlAuthenticationHandler-app1.xml   for user creation under 

/home with rep:user.

 

So how is that the above sample code will be hit when we saml login happens.

 

 

Please provide inputs

 

Thanks,

Srinivas

 

Dieses Thema wurde für Antworten geschlossen.

1 Antwort

ManviSharma
Adobe Employee
Adobe Employee
May 8, 2022

Hi,

 

The best way to proceed is to use the documentation for our SAML Authentication Handler 2.0 [1]

 

[1] https://experienceleague.adobe.com/docs/experience-manager-65/administering/security/saml-2-0-authenticationhandler.html

srinivas_chann1
Level 7
May 9, 2022

Hi ,

 

We are following this, wanted to know how could the saml response could will hit based on different appid i have created based on 

AuthenticationInfoPostProcessor

when the user logs in

 

Regards,

Srinivas