Class AnonymousConversationAuthenticationProvider
java.lang.Object
com.flowable.engage.rest.service.api.conversation.anonymous.security.AnonymousConversationAuthenticationProvider
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.MessageSourceAware
,org.springframework.security.authentication.AuthenticationProvider
public class AnonymousConversationAuthenticationProvider
extends java.lang.Object
implements org.springframework.security.authentication.AuthenticationProvider, org.springframework.context.MessageSourceAware
- Author:
- Filip Hrisafov
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AnonymousConversationAuthenticationProvider(java.lang.String key)
-
Method Summary
Modifier and Type Method Description org.springframework.security.core.Authentication
authenticate(org.springframework.security.core.Authentication authentication)
void
setMessageSource(org.springframework.context.MessageSource messageSource)
boolean
supports(java.lang.Class<?> authentication)
-
Field Details
-
Constructor Details
-
AnonymousConversationAuthenticationProvider
public AnonymousConversationAuthenticationProvider(java.lang.String key)
-
-
Method Details
-
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(java.lang.Class<?> authentication)- Specified by:
supports
in interfaceorg.springframework.security.authentication.AuthenticationProvider
-
setMessageSource
public void setMessageSource(org.springframework.context.MessageSource messageSource)- Specified by:
setMessageSource
in interfaceorg.springframework.context.MessageSourceAware
-