Class OAuth2CurrentUserProvider

java.lang.Object
com.flowable.core.spring.security.oauth2.OAuth2CurrentUserProvider
All Implemented Interfaces:
CurrentUserProvider

public class OAuth2CurrentUserProvider extends Object implements CurrentUserProvider
Author:
Filip Hrisafov
  • Field Details

    • firstNameAttribute

      protected String firstNameAttribute
    • lastNameAttribute

      protected String lastNameAttribute
    • displayNameAttribute

      protected String displayNameAttribute
    • emailAttribute

      protected String emailAttribute
  • Constructor Details

    • OAuth2CurrentUserProvider

      public OAuth2CurrentUserProvider()
  • Method Details

    • getCurrentUser

      public CurrentUserResponse getCurrentUser(Principal principal)
      Specified by:
      getCurrentUser in interface CurrentUserProvider
    • supports

      public boolean supports(Principal principal)
      Specified by:
      supports in interface CurrentUserProvider
    • getFirstNameAttribute

      public String getFirstNameAttribute()
    • setFirstNameAttribute

      public void setFirstNameAttribute(String firstNameAttribute)
    • getLastNameAttribute

      public String getLastNameAttribute()
    • setLastNameAttribute

      public void setLastNameAttribute(String lastNameAttribute)
    • getDisplayNameAttribute

      public String getDisplayNameAttribute()
    • setDisplayNameAttribute

      public void setDisplayNameAttribute(String displayNameAttribute)
    • getEmailAttribute

      public String getEmailAttribute()
    • setEmailAttribute

      public void setEmailAttribute(String emailAttribute)