Class MaxClientsClientRegistrationPolicy
- java.lang.Object
-
- org.keycloak.services.clientregistration.policy.impl.MaxClientsClientRegistrationPolicy
-
- All Implemented Interfaces:
Provider
,ClientRegistrationPolicy
public class MaxClientsClientRegistrationPolicy extends Object implements ClientRegistrationPolicy
- Author:
- Marek Posolda
-
-
Constructor Summary
Constructors Constructor Description MaxClientsClientRegistrationPolicy(KeycloakSession session, ComponentModel componentModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterRegister(ClientRegistrationContext context, ClientModel clientModel)
void
afterUpdate(ClientRegistrationContext context, ClientModel clientModel)
void
beforeDelete(ClientRegistrationProvider provider, ClientModel clientModel)
void
beforeRegister(ClientRegistrationContext context)
void
beforeUpdate(ClientRegistrationContext context, ClientModel clientModel)
void
beforeView(ClientRegistrationProvider provider, ClientModel clientModel)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.services.clientregistration.policy.ClientRegistrationPolicy
close
-
-
-
-
Constructor Detail
-
MaxClientsClientRegistrationPolicy
public MaxClientsClientRegistrationPolicy(KeycloakSession session, ComponentModel componentModel)
-
-
Method Detail
-
beforeRegister
public void beforeRegister(ClientRegistrationContext context) throws ClientRegistrationPolicyException
- Specified by:
beforeRegister
in interfaceClientRegistrationPolicy
- Throws:
ClientRegistrationPolicyException
-
afterRegister
public void afterRegister(ClientRegistrationContext context, ClientModel clientModel)
- Specified by:
afterRegister
in interfaceClientRegistrationPolicy
-
beforeUpdate
public void beforeUpdate(ClientRegistrationContext context, ClientModel clientModel) throws ClientRegistrationPolicyException
- Specified by:
beforeUpdate
in interfaceClientRegistrationPolicy
- Throws:
ClientRegistrationPolicyException
-
afterUpdate
public void afterUpdate(ClientRegistrationContext context, ClientModel clientModel)
- Specified by:
afterUpdate
in interfaceClientRegistrationPolicy
-
beforeView
public void beforeView(ClientRegistrationProvider provider, ClientModel clientModel) throws ClientRegistrationPolicyException
- Specified by:
beforeView
in interfaceClientRegistrationPolicy
- Throws:
ClientRegistrationPolicyException
-
beforeDelete
public void beforeDelete(ClientRegistrationProvider provider, ClientModel clientModel) throws ClientRegistrationPolicyException
- Specified by:
beforeDelete
in interfaceClientRegistrationPolicy
- Throws:
ClientRegistrationPolicyException
-
-