Class ClientProtocolMapperRegisterContext

java.lang.Object
org.keycloak.services.clientpolicy.context.admin.ClientProtocolMapperRegisterContext
All Implemented Interfaces:
ClientPolicyContext, ClientProtocolMapperContext, ClientModelContext, ClientPolicyCRUDContext

public class ClientProtocolMapperRegisterContext extends Object
Fired when protocol mappers are being created on a client through the admin REST API.

Emitted from ProtocolMappersResource.createMapper(org.keycloak.representations.idm.ProtocolMapperRepresentation) and ProtocolMappersResource.createMapper(java.util.List) before the mapper is persisted. An executor may inspect getProposedProtocolMappers() and throw ClientPolicyException to reject the request.

See Also: