Package com.avoka.fc.core.security
Class PortalAuthenticationProvider
- java.lang.Object
-
- com.avoka.fc.core.security.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 Summary
Constructors Constructor Description PortalAuthenticationProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.Authentication
authenticate(org.springframework.security.core.Authentication authentication)
void
setPortal(Portal portal)
Set the object portal.boolean
supports(Class<?> toTest)
-
-
-
Method Detail
-
setPortal
public void setPortal(Portal portal)
Description copied from interface:IPortalAware
Set the object portal.- Specified by:
setPortal
in interfaceIPortalAware
- 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 interfaceorg.springframework.security.authentication.AuthenticationProvider
- Throws:
org.springframework.security.core.AuthenticationException
-
supports
public boolean supports(Class<?> toTest)
- Specified by:
supports
in interfaceorg.springframework.security.authentication.AuthenticationProvider
-
-