Class AuthenticatorAuthzClientFactoryBean
java.lang.Object
org.alfresco.repo.security.authentication.identityservice.AuthenticatorAuthzClientFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<org.keycloak.authorization.client.AuthzClient>
public class AuthenticatorAuthzClientFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<org.keycloak.authorization.client.AuthzClient>
Creates an instance of
The creation of
This factory can return a null if it is disabled.
AuthzClient. The creation of
AuthzClient requires connection to a Keycloak server, disable this factory if Keycloak cannot be reached. This factory can return a null if it is disabled.
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.keycloak.authorization.client.AuthzClientClass<?>booleanvoidsetEnabled(boolean enabled) voidsetIdentityServiceConfig(IdentityServiceConfig identityServiceConfig)
-
Constructor Details
-
AuthenticatorAuthzClientFactoryBean
public AuthenticatorAuthzClientFactoryBean()
-
-
Method Details
-
setEnabled
public void setEnabled(boolean enabled) -
setIdentityServiceConfig
-
getObject
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<org.keycloak.authorization.client.AuthzClient>- Throws:
Exception
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<org.keycloak.authorization.client.AuthzClient>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<org.keycloak.authorization.client.AuthzClient>
-