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

    Fields 
    Modifier and Type Field Description
    protected java.lang.String key  
    protected org.springframework.context.support.MessageSourceAccessor messages  
  • 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)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • messages

      protected org.springframework.context.support.MessageSourceAccessor messages
    • key

      protected java.lang.String key
  • Constructor Details

  • 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 interface org.springframework.security.authentication.AuthenticationProvider
      Throws:
      org.springframework.security.core.AuthenticationException
    • supports

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

      public void setMessageSource​(org.springframework.context.MessageSource messageSource)
      Specified by:
      setMessageSource in interface org.springframework.context.MessageSourceAware