public class SecurityConfigurationFactory extends Object
Modifier and Type | Field and Description |
---|---|
protected com.google.gson.Gson |
jsonSerializer |
static String |
KERBEROS_DESCRIPTOR_PROPERTY_ID |
static String |
KERBEROS_DESCRIPTOR_REFERENCE_PROPERTY_ID |
static String |
SECURITY_PROPERTY_ID |
static String |
TYPE_PROPERTY_ID |
Modifier | Constructor and Description |
---|---|
|
SecurityConfigurationFactory() |
protected |
SecurityConfigurationFactory(com.google.gson.Gson jsonSerializer,
KerberosDescriptorDAO kerberosDescriptorDAO,
KerberosDescriptorFactory kerberosDescriptorFactory) |
Modifier and Type | Method and Description |
---|---|
SecurityConfiguration |
createSecurityConfigurationFromRequest(Map<String,Object> properties,
boolean persistEmbeddedDescriptor)
Creates and also validates SecurityConfiguration based on properties parsed from request Json.
|
SecurityConfiguration |
loadSecurityConfigurationByReference(String reference) |
public static final String SECURITY_PROPERTY_ID
public static final String TYPE_PROPERTY_ID
public static final String KERBEROS_DESCRIPTOR_PROPERTY_ID
public static final String KERBEROS_DESCRIPTOR_REFERENCE_PROPERTY_ID
@Inject protected com.google.gson.Gson jsonSerializer
public SecurityConfigurationFactory()
protected SecurityConfigurationFactory(com.google.gson.Gson jsonSerializer, KerberosDescriptorDAO kerberosDescriptorDAO, KerberosDescriptorFactory kerberosDescriptorFactory)
public SecurityConfiguration createSecurityConfigurationFromRequest(Map<String,Object> properties, boolean persistEmbeddedDescriptor)
properties
- Security properties from Json parsed into a MappersistEmbeddedDescriptor
- whether to save embedded descriptor or notpublic SecurityConfiguration loadSecurityConfigurationByReference(String reference)
Copyright © 2022 Apache Software Foundation. All rights reserved.