Interface PolicyProviderFactory<R extends AbstractPolicyRepresentation>
- All Superinterfaces:
ProviderFactory<PolicyProvider>
- All Known Implementing Classes:
AggregatePolicyProviderFactory
,ClientPolicyProviderFactory
,ClientScopePolicyProviderFactory
,DeployedScriptPolicyFactory
,GroupPolicyProviderFactory
,JSPolicyProviderFactory
,RegexPolicyProviderFactory
,ResourcePolicyProviderFactory
,RolePolicyProviderFactory
,ScopePolicyProviderFactory
,TimePolicyProviderFactory
,UMAPolicyProviderFactory
,UserPolicyProviderFactory
public interface PolicyProviderFactory<R extends AbstractPolicyRepresentation>
extends ProviderFactory<PolicyProvider>
- Author:
- Pedro Igor
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(AuthorizationProvider authorization) default PolicyProviderAdminService
getAdminResource
(ResourceServer resourceServer, AuthorizationProvider authorization) getGroup()
getName()
default boolean
default void
onCreate
(Policy policy, R representation, AuthorizationProvider authorization) default void
onExport
(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorizationProvider) default void
onImport
(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization) default void
onRemove
(Policy policy, AuthorizationProvider authorization) default void
onUpdate
(Policy policy, R representation, AuthorizationProvider authorization) toRepresentation
(Policy policy, AuthorizationProvider authorization) Methods inherited from interface org.keycloak.provider.ProviderFactory
close, create, getConfigMetadata, getId, init, order, postInit
-
Method Details
-
getName
String getName() -
getGroup
String getGroup() -
isInternal
default boolean isInternal() -
create
-
toRepresentation
-
getRepresentationType
-
onCreate
-
onUpdate
-
onRemove
-
onImport
default void onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization) -
onExport
default void onExport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorizationProvider) -
getAdminResource
default PolicyProviderAdminService getAdminResource(ResourceServer resourceServer, AuthorizationProvider authorization)
-