Package org.keycloak.protocol.saml
Class SamlProtocolFactory
java.lang.Object
org.keycloak.protocol.AbstractLoginProtocolFactory
org.keycloak.protocol.saml.SamlProtocolFactory
- All Implemented Interfaces:
LoginProtocolFactory,ProviderFactory<LoginProtocol>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDefaults(ClientModel client) create(KeycloakSession session) protected voidcreateDefaultClientScopesImpl(RealmModel newRealm) Impl should create default client scopes.createProtocolEndpoint(KeycloakSession session, EventBuilder event) List of built in protocol mappers that can be used to apply to clients.getId()voidinit(Config.Scope config) Only called once when the factory is first created.intorder()defines the option-order in the admin-uivoidsetupClientDefaults(ClientRepresentation clientRep, ClientModel newClient) Setup default values for new clients.Methods inherited from class org.keycloak.protocol.AbstractLoginProtocolFactory
addClientScopeDefaults, addDefaultClientScopes, addDefaultClientScopes, close, createDefaultClientScopes, postInitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata
-
Field Details
-
SCOPE_ROLE_LIST
- See Also:
-
-
Constructor Details
-
SamlProtocolFactory
public SamlProtocolFactory()
-
-
Method Details
-
createProtocolEndpoint
-
create
-
init
Description copied from interface:ProviderFactoryOnly called once when the factory is first created.- Specified by:
initin interfaceProviderFactory<LoginProtocol>- Overrides:
initin classAbstractLoginProtocolFactory
-
getId
-
getBuiltinMappers
Description copied from interface:LoginProtocolFactoryList of built in protocol mappers that can be used to apply to clients.- Returns:
-
createDefaultClientScopesImpl
Description copied from class:AbstractLoginProtocolFactoryImpl should create default client scopes. This is called usually when new realm is created- Specified by:
createDefaultClientScopesImplin classAbstractLoginProtocolFactory
-
addDefaults
- Specified by:
addDefaultsin classAbstractLoginProtocolFactory
-
setupClientDefaults
Description copied from interface:LoginProtocolFactorySetup default values for new clients. This expects that the representation has already set up the client -
order
public int order()defines the option-order in the admin-ui
-