Custom implementation changes in AC v4.2

If you are upgrading to AC v4.2 and you have custom implementation, you need to update the SAML implementation class. Follow the guidelines below to incorporate the changes.

  1. Remove the import statements from any of the following packages.
    1. org.springframework.security.saml.*
    2. org.opensaml.common.*
    3. org.opensaml.saml2.*
    4. org.opensaml.xml.*
      The following code highlighted in red is the example of import statements. 
  2. Use Adeptia Connect SAMLSSOUtils class present in com.adeptia.indigo.security.saml to get the,
    1. SAML user attributes as highlighted in red below:
    2. Authenticated principal using the statement given below:
      SAMLSSOUtils.getPrincipal(authentication);
    3. SAML relay state parameter using the statement given below:
      SAMLSSOUtils.getRelayState(authentication);

If you are upgrading to AC v4.2 and you have custom implementation, you need to update the SAML implementation class. Follow the guidelines below to incorporate the changes.

  1. Remove the import statements from any of the following packages.
    1. org.springframework.security.saml.*
    2. org.opensaml.common.*
    3. org.opensaml.saml2.*
    4. org.opensaml.xml.*
      The following code highlighted in red is the example of import statements. 
  2. Use Adeptia Connect SAMLSSOUtils class present in com.adeptia.indigo.security.saml to get the,
    1. SAML user attributes as highlighted in red below:
    2. Authenticated principal using the statement given below:
      SAMLSSOUtils.getPrincipal(authentication);
    3. SAML relay state parameter using the statement given below:
      SAMLSSOUtils.getRelayState(authentication);