public class SamlProtocolFactory extends AbstractLoginProtocolFactory
Modifier and Type | Field and Description |
---|---|
static String |
SCOPE_ROLE_LIST |
Constructor and Description |
---|
SamlProtocolFactory() |
Modifier and Type | Method and Description |
---|---|
protected void |
addDefaults(ClientModel client) |
LoginProtocol |
create(KeycloakSession session) |
protected void |
createDefaultClientScopesImpl(RealmModel newRealm)
Impl should create default client scopes.
|
Object |
createProtocolEndpoint(RealmModel realm,
EventBuilder event) |
Map<String,ProtocolMapperModel> |
getBuiltinMappers()
List of built in protocol mappers that can be used to apply to clients.
|
String |
getId() |
void |
init(Config.Scope config)
Only called once when the factory is first created.
|
void |
setupClientDefaults(ClientRepresentation clientRep,
ClientModel newClient)
Setup default values for new clients.
|
addDefaultClientScopes, addDefaultClientScopes, close, createDefaultClientScopes, postInit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
order
public static final String SCOPE_ROLE_LIST
public Object createProtocolEndpoint(RealmModel realm, EventBuilder event)
public LoginProtocol create(KeycloakSession session)
public void init(Config.Scope config)
ProviderFactory
init
in interface ProviderFactory<LoginProtocol>
init
in class AbstractLoginProtocolFactory
public String getId()
public Map<String,ProtocolMapperModel> getBuiltinMappers()
LoginProtocolFactory
protected void createDefaultClientScopesImpl(RealmModel newRealm)
AbstractLoginProtocolFactory
createDefaultClientScopesImpl
in class AbstractLoginProtocolFactory
protected void addDefaults(ClientModel client)
addDefaults
in class AbstractLoginProtocolFactory
public void setupClientDefaults(ClientRepresentation clientRep, ClientModel newClient)
LoginProtocolFactory
Copyright © 2021 JBoss by Red Hat. All rights reserved.