mirror of https://github.com/apache/cloudstack.git
core: Add registry and beans in spring registry for PluggableAPIAuthenticator
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
7ff50499a1
commit
47c9050871
|
|
@ -35,6 +35,12 @@
|
|||
value="com.cloud.server.auth.UserAuthenticator" />
|
||||
</bean>
|
||||
|
||||
<bean class="org.apache.cloudstack.spring.lifecycle.registry.RegistryLifecycle">
|
||||
<property name="registry" ref="pluggableAPIAuthenticatorsRegistry" />
|
||||
<property name="typeClass"
|
||||
value=" org.apache.cloudstack.api.auth.PluggableAPIAuthenticator" />
|
||||
</bean>
|
||||
|
||||
<bean class="org.apache.cloudstack.spring.lifecycle.registry.RegistryLifecycle">
|
||||
<property name="registry" ref="securityCheckersRegistry" />
|
||||
<property name="typeClass"
|
||||
|
|
|
|||
|
|
@ -33,7 +33,14 @@
|
|||
class="org.apache.cloudstack.spring.lifecycle.registry.ExtensionRegistry">
|
||||
<property name="orderConfigKey" value="user.authenticators.order" />
|
||||
<property name="excludeKey" value="user.authenticators.exclude" />
|
||||
<property name="orderConfigDefault" value="SHA256SALT,MD5,LDAP,PLAINTEXT" />
|
||||
<property name="orderConfigDefault" value="SHA256SALT,MD5,LDAP,SAML2,PLAINTEXT" />
|
||||
</bean>
|
||||
|
||||
<bean id="pluggableAPIAuthenticatorsRegistry"
|
||||
class="org.apache.cloudstack.spring.lifecycle.registry.ExtensionRegistry">
|
||||
<property name="orderConfigKey" value="pluggableApi.authenticators.order" />
|
||||
<property name="excludeKey" value="pluggableApi.authenticators.exclude" />
|
||||
<property name="orderConfigDefault" value="SAML2Auth" />
|
||||
</bean>
|
||||
|
||||
<bean id="userPasswordEncodersRegistry"
|
||||
|
|
|
|||
Loading…
Reference in New Issue