Class JwtCurrentUserProvider
java.lang.Object
com.flowable.core.spring.security.oauth2.JwtCurrentUserProvider
- All Implemented Interfaces:
CurrentUserProvider
- Author:
- Filip Hrisafov
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getCurrentUser
(Principal principal) void
setDisplayNameClaim
(String displayNameClaim) void
setEmailClaim
(String emailClaim) void
setFirstNameClaim
(String firstNameClaim) void
setLastNameClaim
(String lastNameClaim) boolean
-
Field Details
-
firstNameClaim
-
lastNameClaim
-
displayNameClaim
-
emailClaim
-
-
Constructor Details
-
JwtCurrentUserProvider
public JwtCurrentUserProvider()
-
-
Method Details
-
getCurrentUser
- Specified by:
getCurrentUser
in interfaceCurrentUserProvider
-
getClaim
-
supports
- Specified by:
supports
in interfaceCurrentUserProvider
-
getFirstNameClaim
-
setFirstNameClaim
-
getLastNameClaim
-
setLastNameClaim
-
getDisplayNameClaim
-
setDisplayNameClaim
-
getEmailClaim
-
setEmailClaim
-