git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[utils]
/
security
/
src
/
main
/
java
/
org
/
wamblee
/
usermgt
/
hibernate
/
UserAdministrationComponent.java
diff --git
a/security/src/main/java/org/wamblee/usermgt/UserAdministrationComponent.java
b/security/src/main/java/org/wamblee/usermgt/hibernate/UserAdministrationComponent.java
similarity index 82%
rename from
security/src/main/java/org/wamblee/usermgt/UserAdministrationComponent.java
rename to
security/src/main/java/org/wamblee/usermgt/hibernate/UserAdministrationComponent.java
index e073442a7c2626d3800d54fccd4d8cbd43ba7416..57301e73377d547a0ad1ab927ca46ee3f2ad3bf4 100644
(file)
--- a/
security/src/main/java/org/wamblee/usermgt/UserAdministrationComponent.java
+++ b/
security/src/main/java/org/wamblee/usermgt/hibernate/UserAdministrationComponent.java
@@
-13,7
+13,7
@@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.wamblee.usermgt;
+package org.wamblee.usermgt
.hibernate
;
import java.io.IOException;
import java.io.IOException;
@@
-28,7
+28,8
@@
import org.wamblee.system.core.DefaultProvidedInterface;
import org.wamblee.system.core.DefaultRequiredInterface;
import org.wamblee.system.core.ProvidedInterface;
import org.wamblee.system.core.Scope;
import org.wamblee.system.core.DefaultRequiredInterface;
import org.wamblee.system.core.ProvidedInterface;
import org.wamblee.system.core.Scope;
-import org.wamblee.usermgt.hibernate.UsermgtHibernateMappingFiles;
+import org.wamblee.usermgt.UserAdministration;
+import org.wamblee.usermgt.UserGroupRepositoryComponent;
public class UserAdministrationComponent extends DefaultContainer {
public class UserAdministrationComponent extends DefaultContainer {
@@
-41,26
+42,19
@@
public class UserAdministrationComponent extends DefaultContainer {
private ProvidedInterface USER_MGT = new DefaultProvidedInterface(
"usermgt", UserAdministration.class);
private ProvidedInterface USER_MGT = new DefaultProvidedInterface(
"usermgt", UserAdministration.class);
- private Component<?> _hibernate;
- private Component<?> _repository;
- private Component<?> _usermgt;
-
- private boolean _exposeInternals;
-
public UserAdministrationComponent(String aName, boolean aExposeInternals)
throws IOException {
super(aName);
public UserAdministrationComponent(String aName, boolean aExposeInternals)
throws IOException {
super(aName);
- _exposeInternals = aExposeInternals;
-
+
addComponent("mappingFiles", new UsermgtHibernateMappingFiles());
addComponent("mappingFiles", new UsermgtHibernateMappingFiles());
- _hibernate = new HibernateComponent("hibernate");
+
Component<?>
_hibernate = new HibernateComponent("hibernate");
addComponent(_hibernate);
addComponent(_hibernate);
- _repository = new UserGroupRepositoryComponent("usersgroups");
+
Component<?>
_repository = new UserGroupRepositoryComponent("usersgroups");
addComponent(_repository);
addComponent(_repository);
- _usermgt = new UserAdministrationLightComponent("usermgtlight");
+
Component<?>
_usermgt = new UserAdministrationLightComponent("usermgtlight");
addComponent(_usermgt);
addRequiredInterface(new DefaultRequiredInterface("datasource",
addComponent(_usermgt);
addRequiredInterface(new DefaultRequiredInterface("datasource",