Interface AdminExternalLoginExtensionHandler

All Superinterfaces:
org.broadleafcommerce.common.extension.ExtensionHandler

public interface AdminExternalLoginExtensionHandler extends org.broadleafcommerce.common.extension.ExtensionHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    org.broadleafcommerce.common.extension.ExtensionResultStatusType
    performAdditionalAuthenticationTasks(AdminUser adminUser, org.broadleafcommerce.common.security.BroadleafExternalAuthenticationUserDetails details)
    This can be used to associate, for example, Site to the adminUser, or to validate that the Site that the adminUser has access to is the current site.

    Methods inherited from interface org.broadleafcommerce.common.extension.ExtensionHandler

    getPriority, isEnabled
  • Method Details

    • performAdditionalAuthenticationTasks

      org.broadleafcommerce.common.extension.ExtensionResultStatusType performAdditionalAuthenticationTasks(AdminUser adminUser, org.broadleafcommerce.common.security.BroadleafExternalAuthenticationUserDetails details)
      This can be used to associate, for example, Site to the adminUser, or to validate that the Site that the adminUser has access to is the current site. Implementors may also wish to assign additional data to the admin user, persist custom data, validate additional access rules, etc. Implementors should not persist the adminUser object. Rather modify or augment the state of the adminUser object only. Persistence should be handled outside of this.

      If an implementor decides that the user is not actually authenticated or should not be allowed access, an instance of org.springframework.security.core.AuthenticationException should be thrown.

      Parameters:
      adminUser -
      details -
      Returns: