Class PortalAuthenticationProvider

  • All Implemented Interfaces:
    IPortalAware, org.springframework.security.authentication.AuthenticationProvider

    public class PortalAuthenticationProvider
    extends Object
    implements org.springframework.security.authentication.AuthenticationProvider, IPortalAware
    Provides a Spring Security Authentication Provider which integrates with TxM Security Manager.
    Since:
    19.5.0
    • Constructor Detail

      • PortalAuthenticationProvider

        public PortalAuthenticationProvider()
    • Method Detail

      • setPortal

        public void setPortal​(Portal portal)
        Description copied from interface: IPortalAware
        Set the object portal.
        Specified by:
        setPortal in interface IPortalAware
        Parameters:
        portal - the portal
      • authenticate

        public org.springframework.security.core.Authentication authenticate​(org.springframework.security.core.Authentication authentication)
                                                                      throws org.springframework.security.core.AuthenticationException
        Specified by:
        authenticate in interface org.springframework.security.authentication.AuthenticationProvider
        Throws:
        org.springframework.security.core.AuthenticationException
      • supports

        public boolean supports​(Class<?> toTest)
        Specified by:
        supports in interface org.springframework.security.authentication.AuthenticationProvider