public class KeycloakRolesAuthorizationGenerator extends Object implements AuthorizationGenerator<KeycloakOidcProfile>
AuthorizationGenerator
to Keycloak.Constructor and Description |
---|
KeycloakRolesAuthorizationGenerator() |
KeycloakRolesAuthorizationGenerator(String clientId) |
Modifier and Type | Method and Description |
---|---|
KeycloakOidcProfile |
generate(WebContext context,
KeycloakOidcProfile profile)
Generate the authorization information from and for the user profile.
|
String |
getClientId() |
void |
setClientId(String clientId) |
public KeycloakRolesAuthorizationGenerator()
public KeycloakRolesAuthorizationGenerator(String clientId)
public KeycloakOidcProfile generate(WebContext context, KeycloakOidcProfile profile)
AuthorizationGenerator
generate
in interface AuthorizationGenerator<KeycloakOidcProfile>
context
- the web contextprofile
- the user profile for which to generate the authorization information.public String getClientId()
public void setClientId(String clientId)
Copyright © 2019. All rights reserved.