Commit Graph

111 Commits (822c5288f3713e1c63c7b4aeb029e1d6eb7202b5)

Author SHA1 Message Date
jensp 822c5288f3 CCM NG:
- Split up code for the UserAdmin class into several smaller classes 
- All classes (forms, tables, models, modelbuilders) which are only intented to be used by UserAidmin, GroupAdmin and RoleAdmin are only accessible from the package


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4018 8810af33-2d31-482b-a856-94f89814c4df
2016-04-20 12:04:26 +00:00
jensp b458a61aca CCM NG: The OneTimeAuthToken is now saved as hash in the database.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3985 8810af33-2d31-482b-a856-94f89814c4df
2016-04-12 17:54:40 +00:00
tosmers ad1ec92626 test problems with docrepo
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3982 8810af33-2d31-482b-a856-94f89814c4df
2016-04-11 15:49:13 +00:00
jensp 4e55d0279e CCM NG: FilePortationTest now deploys without errors
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3977 8810af33-2d31-482b-a856-94f89814c4df
2016-04-07 08:47:09 +00:00
jensp 4bd63b1b45 CCM NG:
- Forms for Login, including new password recover form and account activation form


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3974 8810af33-2d31-482b-a856-94f89814c4df
2016-04-06 13:44:27 +00:00
jensp f234e7a0e5 CCM NG: OneTimeAuthTokenCleaner: Uses javax.ejb.TimerService to run a cleanup task to remove expired one time auth tokens.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3972 8810af33-2d31-482b-a856-94f89814c4df
2016-04-02 16:42:52 +00:00
jensp b06a29d432 CCM NG: ChallengeManager, provides services for email verification, account activation and password recovery.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3970 8810af33-2d31-482b-a856-94f89814c4df
2016-04-01 18:31:51 +00:00
jensp b9397f01b7 CCM NG: OneTimeAuthManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3968 8810af33-2d31-482b-a856-94f89814c4df
2016-03-31 18:12:04 +00:00
jensp 3eb86b41f2 CCM NG: OneTimeAuth system, used for PasswordRecover, Account activation and email verification
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3967 8810af33-2d31-482b-a856-94f89814c4df
2016-03-30 17:23:09 +00:00
jensp b32c0ab6f1 CCM NG: Fixed CategoryRepositoryTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3947 8810af33-2d31-482b-a856-94f89814c4df
2016-03-21 20:01:11 +00:00
jensp 2f7b0f1dcb CCM NG: Tests for ccm-core now work again
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3946 8810af33-2d31-482b-a856-94f89814c4df
2016-03-21 18:18:35 +00:00
jensp c2bae7824a CCM NG: Several changes in the tests caused by the recent changes to the Shiro integration and other changes.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3945 8810af33-2d31-482b-a856-94f89814c4df
2016-03-18 21:38:25 +00:00
jensp 5bb5bf7ac6 CCM NG:
- Some updates caused by the integration of the UUID field in CcmObject
- Better integration for Shiro (inspired by https://issues.apache.org/jira/browse/SHIRO-337).)


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3855 8810af33-2d31-482b-a856-94f89814c4df
2016-02-11 14:05:29 +00:00
jensp 5b1055c485 CCM NG:
- Added UUID field to CcmObject
- Added interface Identifiable. All entities which are identifiable via a UUID (which will be all "root" entities) will implement this interface directly or indirectly.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3854 8810af33-2d31-482b-a856-94f89814c4df
2016-02-11 11:56:45 +00:00
jensp 3321f09481 CCM NG: Todays results of the getting Bebop running in CCM NG
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3843 8810af33-2d31-482b-a856-94f89814c4df
2016-02-05 19:08:35 +00:00
jensp d2bfec2a1b CCM NG: Setup for registry
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3835 8810af33-2d31-482b-a856-94f89814c4df
2016-02-02 08:28:11 +00:00
jensp 34907dfe89 CCM NG: Several small changes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3832 8810af33-2d31-482b-a856-94f89814c4df
2016-01-31 10:13:46 +00:00
jensp cc7889143c CCM NG: All tests in ccm-core now pass again
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3824 8810af33-2d31-482b-a856-94f89814c4df
2016-01-23 18:13:28 +00:00
jensp 53670572b2 CCM NG: Some fixes necessary because of the new configuration system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3823 8810af33-2d31-482b-a856-94f89814c4df
2016-01-22 19:35:20 +00:00
jensp 54f8c657f7 CCM NG: Finished migiration to new configuration system. Now all jUnit tests have to be checked.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3809 8810af33-2d31-482b-a856-94f89814c4df
2016-01-20 18:44:11 +00:00
jensp 127ff16e59 CCM NG: TemplatingConfig migrated to new configuration system, WebConfig almost migrated
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3807 8810af33-2d31-482b-a856-94f89814c4df
2016-01-19 19:08:51 +00:00
jensp 361ba65ed8 CCM NG: Migrated more configuration classes to the new system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3793 8810af33-2d31-482b-a856-94f89814c4df
2016-01-13 18:11:56 +00:00
jensp 97567275e2 CCM NG: Part of the ongoing migration to a database based configuration system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3790 8810af33-2d31-482b-a856-94f89814c4df
2016-01-12 19:08:08 +00:00
jensp c024ac5593 CCM NG: Tested #equals, #hashCode and #toString of new KernelConfig class
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3787 8810af33-2d31-482b-a856-94f89814c4df
2016-01-12 11:06:04 +00:00
jensp cdc61894c6 CCM NG: Some fixes for the new Configuration system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3780 8810af33-2d31-482b-a856-94f89814c4df
2016-01-11 17:39:32 +00:00
jensp 712e5c3a4e CCM NG: Some cleanup, and new KernelConfig class
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3779 8810af33-2d31-482b-a856-94f89814c4df
2016-01-11 14:19:56 +00:00
jensp aaf0b053d3 CCM NG: One test in CategoryManagerTest failed when executed after other tests because the hibernate_sequence sequence in the database was not reset between tests.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3778 8810af33-2d31-482b-a856-94f89814c4df
2015-12-19 09:18:05 +00:00
jensp 6a2ce5a0dc CCM NG: Refactored some code to comply to FindBugs and PMD
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3777 8810af33-2d31-482b-a856-94f89814c4df
2015-12-18 18:57:58 +00:00
jensp dabb99d46f CCM NG: Database based configuration now passes all test cases. Not all planned features are yet implemented and tested (for example application instance specific configurations). They will be implemented and tested when they are needed.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3776 8810af33-2d31-482b-a856-94f89814c4df
2015-12-18 15:35:48 +00:00
jensp 4b5a227772 CCM NG: More test cases for the new database driven category system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3775 8810af33-2d31-482b-a856-94f89814c4df
2015-12-17 14:07:40 +00:00
jensp 66048bf198 CCM NG: Some modifications to the configuration classes and first test cases
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3773 8810af33-2d31-482b-a856-94f89814c4df
2015-12-16 19:19:12 +00:00
jensp fd010fef1a CCM NG: Classes for the new database based configuration system (not tested yet)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3772 8810af33-2d31-482b-a856-94f89814c4df
2015-12-16 15:15:38 +00:00
jensp 3f27e09a84 CCM NG: Several changes:
- Replaced CdiLookupException with IllegalStateException. IllegalStateException
  is a RuntimeException, therefore it is not necessary to catch the exception. 
  An error in the findBean method usually is not recoverable, therefore it is 
  not necessary to use a checked exception.
- Removed several uses of UncheckedWrapperException
- CategoryRepository and CategoryManager are now implemented (not completetly 
   yet) and have tests.
- Changed value field of EnumConfigurationEntry from List to Set to avoid 
  duplicate entries.



git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3770 8810af33-2d31-482b-a856-94f89814c4df
2015-12-15 18:56:27 +00:00
jensp e743e052ff CCM NG:
- Some cleanup
    - Entities for the new database based configuration system


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3768 8810af33-2d31-482b-a856-94f89814c4df
2015-12-11 19:26:03 +00:00
jensp 576d28a8ce CCM NG:
- Cleanup ccm-core:org.libreccm.core: Removed unused classes (those replaced by 
  org.libreccm.security)
- Modified org.libreccm.security.PermissionChecker: 
    - #checkPermission(String, CcmObject) does not longer return the object, 
      when the current user is permitted to access the object.
    - new method #checkPermission(String, CcmObject, Class) checks for 
      permission to access the object and returns the object or a virtual 
      "Access denied" object (like SecuredCollection).
- "Access denied" string is provided as a constant by org.libreccm.core.CoreConstants


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3767 8810af33-2d31-482b-a856-94f89814c4df
2015-12-11 13:05:46 +00:00
jensp 3914360c48 CCM NG:
- Some changes in the integration tests in ccm-core. Due to association added 
  between Workflow and Role added in revision r3763 it is necssary to include 
  the org.libreccm.workflow package in these tests.
- Renamed the ccm-bundle-devel to ccm-bundle-devel-swarm to indicate that the 
  using Wildfly Swarm
- Created a ccm-devel-bundle-wildfly module which builds a WAR for Wildfly


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3764 8810af33-2d31-482b-a856-94f89814c4df
2015-12-07 19:22:18 +00:00
jensp 6066ea22a2 CCM NG: Removed associations to User and Group from the UserTask and replaced them with an association to Role.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3763 8810af33-2d31-482b-a856-94f89814c4df
2015-12-04 17:42:02 +00:00
jensp 80eeb7960a CCM NG: Secured collections (not all tested yet)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3751 8810af33-2d31-482b-a856-94f89814c4df
2015-11-26 14:42:43 +00:00
jensp 0e3ee46988 CCM NG: SecuredIterator: Iterator for CcmObjects which checks permissions for
the objects before returning them.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3748 8810af33-2d31-482b-a856-94f89814c4df
2015-11-25 16:08:22 +00:00
jensp c433cadaae CCM NG: CDI Interceptor for Authorization
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3745 8810af33-2d31-482b-a856-94f89814c4df
2015-11-24 19:22:44 +00:00
jensp b6cb768993 CCM NG: Removed the javabeans PMD ruleset from the list of checked rulesets
because the rule "BeanMembersShouldSerialize" from this ruleset procduces many 
false positives. Also removed also usages of the transient modifier which 
were only added to various classes to match this rule.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3743 8810af33-2d31-482b-a856-94f89814c4df
2015-11-23 12:45:16 +00:00
jensp 97899ace54 CCM NG: Cleanup
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3742 8810af33-2d31-482b-a856-94f89814c4df
2015-11-23 09:45:15 +00:00
jensp fb14845775 CCM_NG: New API for authentication and authoriziation using Apache Shiro.
Replaces some classes in org.libreccm.core.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3741 8810af33-2d31-482b-a856-94f89814c4df
2015-11-23 09:37:35 +00:00
jensp 56d545d175 CCM NG: Old login app ported to CCM NG including UI. Compiles but is not tested yet!
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3673 8810af33-2d31-482b-a856-94f89814c4df
2015-10-08 09:12:25 +00:00
jensp e001c43351 CCM NG:
ccm-core:
- Moved package for module system from org.libreccm.core.modules to 
  org.libreccm.modules

ccm-docrepo
- Fixed wrong import for java.sql.Date, should be java.util.Date
- Added a placeholder persistence.xml to avoid error in the ddl generator



git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3611 8810af33-2d31-482b-a856-94f89814c4df
2015-09-11 16:47:30 +00:00
jensp 0e35c7b723 CCM NG: Some fixes on database object identifiers like tables etc on ensure compatibility with H2, PostgreSQL and Oracle
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3606 8810af33-2d31-482b-a856-94f89814c4df
2015-09-09 15:44:35 +00:00
jensp abfa4c6ff7 CCM NG: Some adjustments for the ccm-test-bundle module
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3601 8810af33-2d31-482b-a856-94f89814c4df
2015-09-03 20:01:19 +00:00
jensp d7be8b8d65 CCM NG: Bundle/WAR module for testing the module system etc.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3600 8810af33-2d31-482b-a856-94f89814c4df
2015-09-03 13:45:35 +00:00
jensp a51c64e7b5 CCM NG: Some files I forgot in the last commit
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3599 8810af33-2d31-482b-a856-94f89814c4df
2015-09-03 08:13:00 +00:00
jensp c9da290b9f CCM NG: Test for the module system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3598 8810af33-2d31-482b-a856-94f89814c4df
2015-09-02 18:16:00 +00:00