public class EntityDescriptorDescriptionConverter extends Object implements ClientDescriptionConverter, ClientDescriptionConverterFactory
Constructor and Description |
---|
EntityDescriptorDescriptionConverter() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ClientRepresentation |
convertToInternal(String description) |
ClientDescriptionConverter |
create(KeycloakSession session) |
String |
getId() |
static String |
getServiceURL(SPSSODescriptorType sp,
String bindingURI)
Get the service url for the SP
|
static SPSSODescriptorType |
getSPDescriptor(EntityDescriptorType entityDescriptor)
Get the SP Descriptor from an entity descriptor
|
void |
init(Config.Scope config) |
boolean |
isSupported(String description) |
void |
postInit(KeycloakSessionFactory factory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
order
public static final String ID
public EntityDescriptorDescriptionConverter()
public boolean isSupported(String description)
isSupported
in interface ClientDescriptionConverterFactory
public ClientRepresentation convertToInternal(String description)
convertToInternal
in interface ClientDescriptionConverter
public static SPSSODescriptorType getSPDescriptor(EntityDescriptorType entityDescriptor)
entityDescriptor
- public static String getServiceURL(SPSSODescriptorType sp, String bindingURI)
sp
- bindingURI
- public ClientDescriptionConverter create(KeycloakSession session)
create
in interface ProviderFactory<ClientDescriptionConverter>
public void init(Config.Scope config)
init
in interface ProviderFactory<ClientDescriptionConverter>
public void postInit(KeycloakSessionFactory factory)
postInit
in interface ProviderFactory<ClientDescriptionConverter>
public void close()
close
in interface Provider
close
in interface ProviderFactory<ClientDescriptionConverter>
public String getId()
getId
in interface ProviderFactory<ClientDescriptionConverter>
Copyright © 2019 JBoss by Red Hat. All rights reserved.