public class KeycloakRole extends Object implements org.springframework.security.core.GrantedAuthority
Authentication by the Keycloak server.| Constructor and Description |
|---|
KeycloakRole(String role)
Creates a new granted authority from the given Keycloak role.
|
public KeycloakRole(String role)
role - the name of this granted authoritypublic String getAuthority()
getAuthority in interface org.springframework.security.core.GrantedAuthorityCopyright © 2021 JBoss by Red Hat. All rights reserved.