]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - security/runtime/org.argeo.security.core/src/main/java/org/argeo/security/jcr/JcrUserDetails.java
Fix Remote RCP not working
[lgpl/argeo-commons.git] / security / runtime / org.argeo.security.core / src / main / java / org / argeo / security / jcr / JcrUserDetails.java
index 1a19ecb20c1a030c9bc82fefa92edc0b6e509653..2f7b97b7842565bc6512f584fd814d1310e68988 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2007-2012 Mathieu Baudier
+ * Copyright (C) 2007-2012 Argeo GmbH
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@ import javax.jcr.RepositoryException;
 import javax.jcr.Session;
 
 import org.argeo.jcr.ArgeoNames;
-import org.argeo.jcr.security.SecurityJcrUtils;
+import org.argeo.jcr.UserJcrUtils;
 import org.springframework.security.BadCredentialsException;
 import org.springframework.security.DisabledException;
 import org.springframework.security.GrantedAuthority;
@@ -90,7 +90,7 @@ public class JcrUserDetails extends User implements ArgeoNames {
         */
        public JcrUserDetails(Session session, String username, String password,
                        GrantedAuthority[] authorities) throws RepositoryException {
-               this(SecurityJcrUtils.getUserProfile(session, username),
+               this(UserJcrUtils.getUserProfile(session, username),
                                password != null ? password : "", authorities);
        }