Commit Graph

58 Commits

Author SHA1 Message Date
Jean-Baptiste Onofré 51081e4edf
Merge pull request #479 from coheigea/AMQ-7423
AMQ-7423 - Remove synchronization from JAAS PropertiesLoader
2020-02-28 07:30:57 +01:00
Colm O hEigeartaigh 67fb6f8871 AMQ-7423 - Remove synchronization from JAAS PropertiesLoader 2020-02-27 15:29:26 +00:00
jbonofre a1e87c6096 [AMQ-6833] Cleanly close DirContext in LDAPLoginModule when the authentication is complete 2020-02-26 18:24:53 +01:00
Daniel Trebbien 7480c66031 Mark `staticCache' final
This fixes a warning in NetBeans IDE about synchronizing on a non-final
field.
2020-02-19 07:44:20 +00:00
Lionel Cons c4927638da AMQ-7230 - Add support for regex based certificate authentication 2019-06-17 13:39:13 +02:00
Colm O hEigeartaigh 042cad9e93 AMQ-7137 - Implement abort() properly in the LoginModules. Also fix a bug in LdapLoginModule relating to Logout 2019-01-16 14:12:35 +00:00
Christopher L. Shannon (cshannon) 2788bd5584 https://issues.apache.org/jira/browse/AMQ-6214
Fixing ReloadableProperties so that the groups file will be properly
reloaded on file modification. Added a test to verify.

Thanks to Nanchang Yang for providing the fix.
2016-03-16 14:50:24 +00:00
gtully 8d63083dff https://issues.apache.org/jira/browse/AMQ-5876 - load groups properties into per user set once also to avoid parse per login attempt 2015-10-29 13:59:27 +00:00
Christopher L. Shannon (cshannon) 38a6bedf92 https://issues.apache.org/jira/browse/AMQ-5860
Adding support for encrypted passwords when using the LDAPLoginModule
2015-09-20 14:50:31 +00:00
gtully 59cd018979 https://issues.apache.org/jira/browse/AMQ-5876 - refactor properties loading such that it can be reused by cert and props login modules. Both loading on start and refreshing if reload=true and lastMod indicates change 2015-07-08 12:07:04 +01:00
Christopher L. Shannon (cshannon) 12b26b641b https://issues.apache.org/jira/browse/AMQ-5745
This commit is based off a patch submitted by admin@int3solutions.com.
It fixes several locations in the code where there are potential resource leaks.
2015-06-30 13:41:48 -04:00
Dejan Bosanac 0b5231ada5 https://issues.apache.org/jira/browse/AMQ-5345 - improve ldap communication 2014-09-08 13:51:25 +02:00
Hiram Chirino 5da7ab3c0e Implements AMQ-5123: Optionally support encrypted passwords in ActiveMQ users.properties file. 2014-03-27 13:10:28 -04:00
Hiram Chirino bc470202da Fixe bug were exception was being thrown on start up if a optional command could not load (for example if the jasypt lib was removed). 2014-03-27 13:09:42 -04:00
Claus Ibsen 20747eedca AMQ-4685: Improved LDAPLoginModule to support ldap alias when result is absolute. Thanks to Igor Podolskiy for patch. 2013-11-02 14:51:09 +01:00
Timothy A. Bish 15598081a1 apply patch for: https://issues.apache.org/jira/browse/AMQ-4249
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1433159 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 21:51:45 +00:00
Bosanac Dejan 0a8e505b14 https://issues.apache.org/jira/browse/AMQ-3770 - ldap group expansion
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1347649 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 14:46:27 +00:00
Gary Tully 71d4e2a2aa set explicit port for ldap server to correspond to client usage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1178812 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 14:25:28 +00:00
Gary Tully 937d5dd0c4 let the test find its login.config
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1164507 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 12:33:13 +00:00
Timothy A. Bish e917f46656 Applied a patch from: https://issues.apache.org/jira/browse/AMQ-3260
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1158031 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 22:12:30 +00:00
Bosanac Dejan e1ce619872 https://issues.apache.org/jira/browse/AMQ-3323 - LDAPLoginModule more debuging and exception messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1103745 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 14:19:46 +00:00
Gary Tully 1667d80041 https://issues.apache.org/jira/browse/AMQ-3308 - Minor code improvements in jaas module. patch applied with thanks.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1101099 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 16:33:59 +00:00
Bosanac Dejan 046130ef8e https://issues.apache.org/jira/browse/AMQ-826 - ldap based authorization - more fixes - support composite and easy advisory settings
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1091862 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 17:49:29 +00:00
Bosanac Dejan 26cf6a7f26 https://issues.apache.org/jira/browse/AMQ-826 - ldap based authorization - making tests work again, upgrading to apache ds 1.5.7, fixing ldif
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1091401 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 13:25:34 +00:00
Gary Tully 4ab47eb9aa add baseDir option to jaas properties login module so that the path to properties file can be specified independt of the system property java.security.auth.login.config, useful when run with karaf jass arch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1090179 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 10:04:57 +00:00
Bosanac Dejan a345cd3d56 https://issues.apache.org/jira/browse/AMQ-3244 - make checking of the file timestamps default for the jaas properties loging module
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1088955 13f79535-47bb-0310-9956-ffa450edef68
2011-04-05 10:20:17 +00:00
Bosanac Dejan d3676e4bc8 https://issues.apache.org/jira/browse/AMQ-3244 - reload=false for PropertiesLoginModule
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1086219 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 13:02:23 +00:00
Gary Tully 69f56058f2 https://issues.apache.org/jira/browse/AMQ-3198 - Allow JAAS GuestLoginModule to fail if users specify a password
new option to GuestLoginModule, credentialsInvalidate, when true, presence of a password will cause module to fail login
allowing the next module to validate the credential. Will only guest users who don't specify a password

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1078048 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 16:48:01 +00:00
Gary Tully 6f68a94319 https://issues.apache.org/jira/browse/AMQ-3182 - JAAS PropertiesLoginModule does not maintain internal validity state, so will commit in error after an invalid login attempt
https://issues.apache.org/jira/browse/AMQ-3183 - Set JMSXUserID value based on authenticated principal
Fixed up PropertiesLoginModule such that it maintains login state and only commits on success. Added attribute brokerService useAuthenticatedPrincipalForJMXUserID to indicate
that the first authenticated user principal should be used for the userName and hense by the userId broker when populateJMSXUserID is set. In the absense of a principal the
userName is unchanged.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1071301 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 16:12:18 +00:00
Bosanac Dejan 8bf987b134 https://issues.apache.org/jira/browse/AMQ-3177 - use slf4j instead of jcl
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069405 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 14:24:01 +00:00
Gary Tully 72cd4ec09e fix jdoc param warn
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1054977 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 11:35:11 +00:00
Robert Davies d3ec081fc6 Applied patch for https://issues.apache.org/activemq/browse/AMQ-2454
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@825457 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 10:21:36 +00:00
Hiram R. Chirino aa9ff75d45 AMQ-2313: Upgrade ApacheDS dependency to 1.5.5 - fixes issue wiht jaas LDAP tests on AIX/IBM jdk
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@820764 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 19:45:17 +00:00
Bosanac Dejan 6999a02d70 fix for https://issues.apache.org/activemq/browse/AMQ-1781 - ldap login module npe
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@769838 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 17:14:15 +00:00
Hiram R. Chirino af27811a75 Merged in the rest of djencks's release changes from the 4.1 branch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@645991 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 16:28:08 +00:00
Hiram R. Chirino 00895cecc1 ActiveMQ is out of the incubator.. no need for DISCLAIMER.txt anymore
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@577759 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 14:13:23 +00:00
Hiram R. Chirino 540dd5c987 Last set of checkstyle violation fixes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@565003 13f79535-47bb-0310-9956-ffa450edef68
2007-08-12 05:27:21 +00:00
Hiram R. Chirino 5f1adbe898 More checkstyle fixes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@564977 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 21:29:21 +00:00
Robert Davies b266786728 apply patch http://issues.apache.org/activemq/browse/AMQ-1293
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@550451 13f79535-47bb-0310-9956-ffa450edef68
2007-06-25 10:57:57 +00:00
Hiram R. Chirino 86cbdfd5db Switching to Java 5.. Build and Runtime now require Java 5 see: http://www.nabble.com/Switching-to-ActiveMQ-4.2-to-Java-5----tf2637427.html
- Update maven build
- Removed dependency on concurrent-backport



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475999 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 00:29:03 +00:00
Hiram R. Chirino 9e6eb830b3 Set the eol-style
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474977 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 21:02:18 +00:00
Hiram R. Chirino 7a25bcf203 Adding NOTICE files to all build artifacts and updating some LICENCE files too.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@467015 13f79535-47bb-0310-9956-ffa450edef68
2006-10-23 15:38:07 +00:00
Hiram R. Chirino da7ae39320 Added headers to the jaas config files
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@465718 13f79535-47bb-0310-9956-ffa450edef68
2006-10-19 18:40:57 +00:00
Hiram R. Chirino a8b1810141 Applying patch from https://issues.apache.org/activemq/browse/AMQ-960
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@465438 13f79535-47bb-0310-9956-ffa450edef68
2006-10-19 01:24:16 +00:00
Hiram R. Chirino 648826b6d2 https://issues.apache.org/activemq/browse/AMQ-912
Removed extra  activemq-core/src/main/java/org/apache/activemq/security/JassCredentialCallback.java
and renamed JassCredentialCallback.java to JassCredentialCallbackHandler.java since a Callback is very different from a CallbackHandler


git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@447635 13f79535-47bb-0310-9956-ffa450edef68
2006-09-18 23:27:21 +00:00
Hiram R. Chirino 1a88ac6ac3 Commiting awesome patch by Sepand Mavandadi to add ActiveMQ support for SSL authentication and authorization: https://issues.apache.org/activemq/browse/AMQ-912
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@447608 13f79535-47bb-0310-9956-ffa450edef68
2006-09-18 22:43:24 +00:00
Hiram R. Chirino 960dce70d3 http://issues.apache.org/activemq/browse/AMQ-888
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@433286 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 17:08:00 +00:00
Hiram R. Chirino 57b4941325 Applied new source header boiler plate per http://www.apache.org/legal/src-headers.html
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@426366 13f79535-47bb-0310-9956-ffa450edef68
2006-07-28 03:04:41 +00:00
Hiram R. Chirino 25a50630ed converted more println in the test cases to log.info() calls.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@397324 13f79535-47bb-0310-9956-ffa450edef68
2006-04-26 22:33:48 +00:00
Hiram R. Chirino 15023df29b The testcase now sets the system properties so that they don't need to be set by maven
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@386090 13f79535-47bb-0310-9956-ffa450edef68
2006-03-15 15:11:48 +00:00