Class KeycloakConfiguration

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean

    public class KeycloakConfiguration
    extends Object
    implements org.springframework.beans.factory.InitializingBean
    Author:
    Filip Hrisafov
    • 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
    • Constructor Detail

      • KeycloakConfiguration

        public KeycloakConfiguration()
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.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)