Commit Graph

12 Commits

Author SHA1 Message Date
Robert von Burg 3d8fa992d4 [Project] moved some project details to parent ch.eitchnet.parent
This simplifies project setup and maintenance
2013-09-21 09:03:05 +02:00
Robert von Burg d7f10a731f [Minor] fixed compiler warnings
fixed multiple compiler warnings about broken JavaDocs and pom which was
still set to Java 1.6, now changed to 1.7
2013-08-08 00:32:39 +02:00
Robert von Burg 93022ba559 [Major] major rewrite of the privilege validation.
Now the PrivilegeContext object is central and once the user logged in,
this object is bound to a ThreadLocal. From then there is no further
need to interact with the PrivilegeHandler - this allows for
authenticated users to get a remote copy of the PrivilegeContext so that
on a remote client, the user can check for permissions, without having
to do the round trip to the server.

A code review of this change would be good, but preliminary tests show
that it works. A test should now be implemented to check if getting a
remote copy also allows for authorization.
2013-04-09 07:33:32 +02:00
Robert von Burg 08c70f5ec0 Update pom.xml
Added distribution management to deploy to nexus.eitchnet.ch
2013-01-30 15:02:17 +01:00
Robert von Burg e76d9f9121 Implemented XML parsing and writing by using basic Java implementation 2013-01-20 21:26:18 +01:00
Robert von Burg eac0782810 [Minor] Removed dependency to ch.eitchnet.log4j and thus added log4j.xml
The log4j.xml configuration file is in the test resources and now the
project is completely free of a dependency to a concrete logging
implementation as all logging of the sources is done over slf4j
2012-11-25 00:44:56 +01:00
Robert von Burg 2b0e23eb28 [Major] refactored use of log4j to slf4j 2012-11-24 13:23:49 +01:00
Robert von Burg 59e25a8e75 [Minor] code cleanup 2012-11-19 22:50:32 +01:00
Robert von Burg 3831d29a12 [Minor] updated dependency to ch.eitchnet.utils to 0.1.0 2012-08-04 21:36:49 +02:00
Robert von Burg b78e9bb064 [New] added a new PrivilegeHandler.queryUser(UserRep) to query users
- The querying is done by passing a UserRep with all the fields set
which
need to be equal to select the user. Null fields are understood as not
required

- Performed further clean up in that all password variables have been
changed to type byte[].

- Cleaned up copyright notices in files

- fixed version of Privilege 0.1.0-SNAPSHOT in pom.xml
2012-07-29 18:23:31 +02:00
Robert von Burg f471be1ea7 [Minor] change mvn eclipse configuration to load sources as well 2012-07-28 23:17:45 +02:00
Robert von Burg 0e026bf713 [Major] rebuilt project to use Maven.
- Now a "mvn compile" will build the project
- Note, that since ch.eitchnet.utils is a dependency, it must be installed first using "mvn install" to be able to compile Privilege
2012-07-28 15:40:01 +02:00