mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
The authenticators now have an encode function that cloudstack will use to encode the user supplied password before storing it in the database. This makes it easier to add other authenticators with other hashing algorithms. The requires a two step approach to creating the admin account at first start as the authenticators are only present in the management-server component locator. The SHA256 salted authenticator make use of this new system and adds a hashing algorithm based on SHA256 with a salt. This type of hash is far less susceptible to rainbow table attacks. To make use of these new features the users password will be sent over the wire just as he typed it and it will be transformed into a hash on the server and compared with the stored password. This means that the hash will not go over the wire anymore. The default authenticator in components.xml is still set to md5 for backwards compatibility. For new installations the sha256 could be enabled.
129 lines
3.7 KiB
XML
129 lines
3.7 KiB
XML
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>cloudstack-plugins</artifactId>
|
|
<name>Apache CloudStack Plugin POM</name>
|
|
<packaging>pom</packaging>
|
|
<parent>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloudstack</artifactId>
|
|
<version>4.1.0-SNAPSHOT</version>
|
|
</parent>
|
|
<build>
|
|
<defaultGoal>install</defaultGoal>
|
|
<sourceDirectory>src</sourceDirectory>
|
|
<testSourceDirectory>test</testSourceDirectory>
|
|
</build>
|
|
<modules>
|
|
<module>deployment-planners/user-concentrated-pod</module>
|
|
<module>deployment-planners/user-dispersing</module>
|
|
<module>host-allocators/random</module>
|
|
<module>hypervisors/ovm</module>
|
|
<module>hypervisors/xen</module>
|
|
<module>hypervisors/kvm</module>
|
|
<module>network-elements/elastic-loadbalancer</module>
|
|
<module>network-elements/ovs</module>
|
|
<module>network-elements/nicira-nvp</module>
|
|
<module>storage-allocators/random</module>
|
|
<module>user-authenticators/ldap</module>
|
|
<module>user-authenticators/md5</module>
|
|
<module>user-authenticators/plain-text</module>
|
|
<module>user-authenticators/sha256salted</module>
|
|
</modules>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-server</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>netapp</id>
|
|
<activation>
|
|
<property>
|
|
<name>nonoss</name>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>file-systems/netapp</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>kvm</id>
|
|
<activation>
|
|
<property>
|
|
<name>nonoss</name>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>hypervisors/kvm</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>f5</id>
|
|
<activation>
|
|
<property>
|
|
<name>nonoss</name>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>network-elements/f5</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>netscaler</id>
|
|
<activation>
|
|
<property>
|
|
<name>nonoss</name>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>network-elements/netscaler</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>srx</id>
|
|
<activation>
|
|
<property>
|
|
<name>nonoss</name>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>network-elements/juniper-srx</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>vmware</id>
|
|
<activation>
|
|
<property>
|
|
<name>nonoss</name>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>hypervisors/vmware</module>
|
|
</modules>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|