Class KeycloakResourceJwtAdapter
- java.lang.Object
-
- org.activiti.cloud.services.common.security.keycloak.KeycloakResourceJwtAdapter
-
- All Implemented Interfaces:
JwtAdapter
public class KeycloakResourceJwtAdapter extends Object implements JwtAdapter
-
-
Constructor Summary
Constructors Constructor Description KeycloakResourceJwtAdapter(String resourceId, org.springframework.security.oauth2.jwt.Jwt jwt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getGroups()org.springframework.security.oauth2.jwt.JwtgetJwt()List<String>getRoles()StringgetUserName()
-
-
-
Constructor Detail
-
KeycloakResourceJwtAdapter
public KeycloakResourceJwtAdapter(String resourceId, org.springframework.security.oauth2.jwt.Jwt jwt)
-
-
Method Detail
-
getJwt
public org.springframework.security.oauth2.jwt.Jwt getJwt()
- Specified by:
getJwtin interfaceJwtAdapter
-
getRoles
public List<String> getRoles()
- Specified by:
getRolesin interfaceJwtAdapter
-
getGroups
public List<String> getGroups()
- Specified by:
getGroupsin interfaceJwtAdapter
-
getUserName
public String getUserName()
- Specified by:
getUserNamein interfaceJwtAdapter
-
-