import javax.security.auth.x500.X500Principal;
import org.argeo.api.acr.ContentSession;
-import org.argeo.api.acr.ldap.LdapAttrs;
+import org.argeo.api.acr.ldap.LdapAttr;
import org.argeo.api.acr.spi.ProvidedRepository;
import org.argeo.api.uuid.MacAddressUuidFactory;
import org.argeo.api.uuid.UuidFactory;
public static void main(String... args) {
Path homePath = Paths.get(System.getProperty("user.home"));
String username = System.getProperty("user.name");
- X500Principal principal = new X500Principal(LdapAttrs.uid + "=" + username + ",dc=localhost");
+ X500Principal principal = new X500Principal(LdapAttr.uid + "=" + username + ",dc=localhost");
Subject subject = new Subject();
subject.getPrincipals().add(principal);