Class KeycloakConfiguration
- java.lang.Object
-
- org.flowable.ui.idm.service.keycloak.KeycloakConfiguration
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
public class KeycloakConfiguration extends Object implements org.springframework.beans.factory.InitializingBean
- Author:
- Filip Hrisafov
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKeycloakConfiguration.AccessTokenclassKeycloakConfiguration.AuthenticationTokenInterceptor
-
Field Summary
Fields Modifier and Type Field Description protected StringauthenticationPasswordprotected StringauthenticationRealmprotected StringauthenticationUserprotected Clockclockprotected DurationclockSkewprotected Stringrealmprotected org.springframework.web.client.RestTemplaterestTemplateprotected Stringserver
-
Constructor Summary
Constructors Constructor Description KeycloakConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()StringgetAuthenticationPassword()StringgetAuthenticationRealm()StringgetAuthenticationUser()ClockgetClock()DurationgetClockSkew()StringgetRealm()org.springframework.web.client.RestTemplategetRestTemplate()StringgetServer()voidsetAuthenticationPassword(String authenticationPassword)voidsetAuthenticationRealm(String authenticationRealm)voidsetAuthenticationUser(String authenticationUser)voidsetClock(Clock clock)voidsetClockSkew(Duration clockSkew)voidsetRealm(String realm)voidsetRestTemplate(org.springframework.web.client.RestTemplate restTemplate)voidsetServer(String server)
-
-
-
Field Detail
-
server
protected String server
-
authenticationRealm
protected String authenticationRealm
-
authenticationUser
protected String authenticationUser
-
authenticationPassword
protected String authenticationPassword
-
realm
protected String realm
-
clockSkew
protected Duration clockSkew
-
clock
protected Clock clock
-
restTemplate
protected org.springframework.web.client.RestTemplate restTemplate
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getServer
public String getServer()
-
setServer
public void setServer(String server)
-
getAuthenticationRealm
public String getAuthenticationRealm()
-
setAuthenticationRealm
public void setAuthenticationRealm(String authenticationRealm)
-
getAuthenticationUser
public String getAuthenticationUser()
-
setAuthenticationUser
public void setAuthenticationUser(String authenticationUser)
-
getAuthenticationPassword
public String getAuthenticationPassword()
-
setAuthenticationPassword
public void setAuthenticationPassword(String authenticationPassword)
-
getRealm
public String getRealm()
-
setRealm
public void setRealm(String realm)
-
getRestTemplate
public org.springframework.web.client.RestTemplate getRestTemplate()
-
setRestTemplate
public void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
-
getClockSkew
public Duration getClockSkew()
-
setClockSkew
public void setClockSkew(Duration clockSkew)
-
getClock
public Clock getClock()
-
setClock
public void setClock(Clock clock)
-
-