activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [5/5] activemq-artemis git commit: This closes #188
Date Fri, 09 Oct 2015 19:58:13 GMT
This closes #188


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/1b49559c
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/1b49559c
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/1b49559c

Branch: refs/heads/master
Commit: 1b49559c641fec2f582257d1ae6844a10a847c2d
Parents: e971f11 6ed9c5a
Author: Clebert Suconic <clebertsuconic@apache.org>
Authored: Fri Oct 9 15:57:53 2015 -0400
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Fri Oct 9 15:57:53 2015 -0400

----------------------------------------------------------------------
 .../activemq/artemis/cli/commands/Create.java   |  53 +-
 .../artemis/factory/JaasSecurityHandler.java    |  32 ++
 .../artemis/broker/security/jaas-security       |  17 +
 .../commands/etc/artemis-roles-basic.properties |  17 +
 .../commands/etc/artemis-roles-jaas.properties  |  17 +
 .../cli/commands/etc/artemis-roles.properties   |  17 -
 .../artemis/cli/commands/etc/artemis.profile    |   2 +-
 .../cli/commands/etc/artemis.profile.cmd        |   2 +-
 .../etc/basic-broker-security-settings.txt      |   5 +
 .../artemis/cli/commands/etc/bootstrap.xml      |   5 +-
 .../etc/jaas-broker-security-settings.txt       |   2 +
 .../artemis/cli/commands/etc/login.config       |  22 +
 .../activemq/cli/test/StreamClassPathTest.java  |   5 +-
 .../activemq/artemis/dto/JaasSecurityDTO.java   |  30 ++
 .../org/apache/activemq/artemis/dto/jaxb.index  |   7 +-
 .../artemis/maven/ArtemisCreatePlugin.java      |   5 +-
 artemis-server/pom.xml                          |  18 +
 .../security/ActiveMQJAASSecurityManager.java   | 114 +++++
 .../core/security/ActiveMQSecurityManager2.java |   2 +-
 .../spi/core/security/JAASSecurityManager.java  | 216 --------
 .../core/security/jaas/CertificateCallback.java |  48 ++
 .../security/jaas/CertificateLoginModule.java   | 183 +++++++
 .../core/security/jaas/GuestLoginModule.java    | 132 +++++
 .../jaas/JaasCertificateCallbackHandler.java    |  65 +++
 .../jaas/JaasCredentialCallbackHandler.java     |  63 +++
 .../spi/core/security/jaas/LDAPLoginModule.java | 505 +++++++++++++++++++
 .../core/security/jaas/LDAPLoginProperty.java   |  41 ++
 .../core/security/jaas/PrincipalProperties.java |  75 +++
 .../security/jaas/PropertiesLoginModule.java    | 215 ++++++++
 .../spi/core/security/jaas/RolePrincipal.java   |  68 +++
 .../jaas/TextFileCertificateLoginModule.java    | 147 ++++++
 .../spi/core/security/jaas/UserPrincipal.java   |  68 +++
 .../jaas/CertificateLoginModuleTest.java        | 154 ++++++
 .../security/jaas/GuestLoginModuleTest.java     |  91 ++++
 .../core/security/jaas/LDAPLoginModuleTest.java | 149 ++++++
 .../jaas/LDAPModuleRoleExpansionTest.java       | 136 +++++
 .../PropertiesLoginModuleRaceConditionTest.java | 195 +++++++
 .../jaas/PropertiesLoginModuleTest.java         | 130 +++++
 .../core/security/jaas/RolePrincipalTest.java   |  61 +++
 .../jaas/StubCertificateLoginModule.java        |  47 ++
 .../core/security/jaas/UserPrincipalTest.java   |  61 +++
 .../artemis/tests/util/ActiveMQTestBase.java    |  24 +-
 artemis-server/src/test/resources/login.config  | 118 +++++
 .../src/test/resources/roles.properties         |  20 +
 artemis-server/src/test/resources/test.ldif     |  39 ++
 .../src/test/resources/users.properties         |  19 +
 docs/user-manual/en/security.md                 | 288 ++++++++++-
 examples/features/standard/pom.xml              |   2 +
 .../features/standard/security-jaas/pom.xml     | 111 ++++
 .../features/standard/security-jaas/readme.html | 324 ++++++++++++
 .../jms/example/JaasSecurityExample.java        | 282 +++++++++++
 .../activemq/server0/artemis-roles.properties   |  20 +
 .../activemq/server0/artemis-users.properties   |  20 +
 .../main/resources/activemq/server0/broker.xml  |  81 +++
 .../src/main/resources/jndi.properties          |  22 +
 pom.xml                                         |   2 +
 tests/integration-tests/pom.xml                 |  18 +
 .../integration/security/LDAPSecurityTest.java  | 347 +++++++++++++
 .../integration/security/SecurityTest.java      | 314 +++++++++++-
 .../src/test/resources/login.config             | 118 +++++
 .../src/test/resources/roles.properties         |  20 +
 .../src/test/resources/test.ldif                |  39 ++
 .../src/test/resources/users.properties         |  19 +
 63 files changed, 5186 insertions(+), 283 deletions(-)
----------------------------------------------------------------------



Mime
View raw message