Class OAuth2CurrentUserProvider
java.lang.Object
com.flowable.core.spring.security.oauth2.OAuth2CurrentUserProvider
- All Implemented Interfaces:
CurrentUserProvider
- Author:
- Filip Hrisafov
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCurrentUser
(Principal principal) void
setDisplayNameAttribute
(String displayNameAttribute) void
setEmailAttribute
(String emailAttribute) void
setFirstNameAttribute
(String firstNameAttribute) void
setLastNameAttribute
(String lastNameAttribute) boolean
-
Field Details
-
firstNameAttribute
-
lastNameAttribute
-
displayNameAttribute
-
emailAttribute
-
-
Constructor Details
-
OAuth2CurrentUserProvider
public OAuth2CurrentUserProvider()
-
-
Method Details
-
getCurrentUser
- Specified by:
getCurrentUser
in interfaceCurrentUserProvider
-
supports
- Specified by:
supports
in interfaceCurrentUserProvider
-
getFirstNameAttribute
-
setFirstNameAttribute
-
getLastNameAttribute
-
setLastNameAttribute
-
getDisplayNameAttribute
-
setDisplayNameAttribute
-
getEmailAttribute
-
setEmailAttribute
-