header authorization
This commit is contained in:
@@ -28,6 +28,7 @@ import java.util.Arrays;
|
||||
*/
|
||||
public class GroupOfNames {
|
||||
public static ArrayList<String> OBJECTCLASS = new ArrayList<>(Arrays.asList("top", "groupOfNames"));
|
||||
public static final String DISTINGUISHEDNAME = "distinguishedname";
|
||||
public static final String CN = "cn";
|
||||
public static final String MEMBER = "member";
|
||||
public static final String BUSINESSCATEGORY = "businessCategory";
|
||||
|
||||
@@ -28,6 +28,7 @@ import java.util.Arrays;
|
||||
*/
|
||||
public class GroupOfUniqueNames {
|
||||
public static ArrayList<String> OBJECTCLASS = new ArrayList<>(Arrays.asList("top", "groupOfUniqueNames"));
|
||||
public static final String DISTINGUISHEDNAME = "distinguishedname";
|
||||
public static final String CN = "cn";
|
||||
public static final String UNIQUEMEMBER = "uniqueMember";
|
||||
public static final String BUSINESSCATEGORY = "businessCategory";
|
||||
|
||||
@@ -28,6 +28,7 @@ import java.util.Arrays;
|
||||
*/
|
||||
public class InetOrgPerson {
|
||||
public static ArrayList<String> OBJECTCLASS = new ArrayList<>(Arrays.asList("top", "person","organizationalPerson","inetOrgPerson"));
|
||||
public static final String DISTINGUISHEDNAME = "distinguishedname";
|
||||
//person sup top
|
||||
/**person sn MUST*/
|
||||
public static final String SN = "sn";
|
||||
|
||||
@@ -28,6 +28,9 @@ import java.util.Arrays;
|
||||
*/
|
||||
public class Organization {
|
||||
public static ArrayList<String> OBJECTCLASS = new ArrayList<>(Arrays.asList("top", "organization"));
|
||||
|
||||
public static final String DISTINGUISHEDNAME = "distinguishedname";
|
||||
|
||||
/**Organization o*/
|
||||
public static final String O = "o";
|
||||
/**Organization userPassword*/
|
||||
|
||||
@@ -28,6 +28,7 @@ import java.util.Arrays;
|
||||
*/
|
||||
public class OrganizationalUnit {
|
||||
public static ArrayList<String> OBJECTCLASS = new ArrayList<>(Arrays.asList("top", "OrganizationalUnit"));
|
||||
public static final String DISTINGUISHEDNAME = "distinguishedname";
|
||||
/**OrganizationalUnit ou*/
|
||||
public static final String OU = "ou";
|
||||
/**OrganizationalUnit userPassword*/
|
||||
|
||||
@@ -80,6 +80,8 @@ public class Organizations extends JpaBaseDomain implements Serializable {
|
||||
@Column
|
||||
private String sortIndex;
|
||||
@Column
|
||||
private String ldapDn;
|
||||
@Column
|
||||
private String description;
|
||||
|
||||
private String status;
|
||||
@@ -292,7 +294,15 @@ public class Organizations extends JpaBaseDomain implements Serializable {
|
||||
|
||||
|
||||
|
||||
public String getStatus() {
|
||||
public String getLdapDn() {
|
||||
return ldapDn;
|
||||
}
|
||||
|
||||
public void setLdapDn(String ldapDn) {
|
||||
this.ldapDn = ldapDn;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
@@ -301,59 +311,63 @@ public class Organizations extends JpaBaseDomain implements Serializable {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder builder = new StringBuilder();
|
||||
builder.append("Organizations [id=");
|
||||
builder.append(id);
|
||||
builder.append(", code=");
|
||||
builder.append(code);
|
||||
builder.append(", name=");
|
||||
builder.append(name);
|
||||
builder.append(", fullName=");
|
||||
builder.append(fullName);
|
||||
builder.append(", parentId=");
|
||||
builder.append(parentId);
|
||||
builder.append(", parentName=");
|
||||
builder.append(parentName);
|
||||
builder.append(", type=");
|
||||
builder.append(type);
|
||||
builder.append(", codePath=");
|
||||
builder.append(codePath);
|
||||
builder.append(", namePath=");
|
||||
builder.append(namePath);
|
||||
builder.append(", level=");
|
||||
builder.append(level);
|
||||
builder.append(", hasChild=");
|
||||
builder.append(hasChild);
|
||||
builder.append(", division=");
|
||||
builder.append(division);
|
||||
builder.append(", country=");
|
||||
builder.append(country);
|
||||
builder.append(", region=");
|
||||
builder.append(region);
|
||||
builder.append(", locality=");
|
||||
builder.append(locality);
|
||||
builder.append(", street=");
|
||||
builder.append(street);
|
||||
builder.append(", address=");
|
||||
builder.append(address);
|
||||
builder.append(", contact=");
|
||||
builder.append(contact);
|
||||
builder.append(", postalCode=");
|
||||
builder.append(postalCode);
|
||||
builder.append(", phone=");
|
||||
builder.append(phone);
|
||||
builder.append(", fax=");
|
||||
builder.append(fax);
|
||||
builder.append(", email=");
|
||||
builder.append(email);
|
||||
builder.append(", sortIndex=");
|
||||
builder.append(sortIndex);
|
||||
builder.append(", description=");
|
||||
builder.append(description);
|
||||
builder.append("]");
|
||||
return builder.toString();
|
||||
}
|
||||
public String toString() {
|
||||
StringBuilder builder = new StringBuilder();
|
||||
builder.append("Organizations [id=");
|
||||
builder.append(id);
|
||||
builder.append(", code=");
|
||||
builder.append(code);
|
||||
builder.append(", name=");
|
||||
builder.append(name);
|
||||
builder.append(", fullName=");
|
||||
builder.append(fullName);
|
||||
builder.append(", parentId=");
|
||||
builder.append(parentId);
|
||||
builder.append(", parentName=");
|
||||
builder.append(parentName);
|
||||
builder.append(", type=");
|
||||
builder.append(type);
|
||||
builder.append(", codePath=");
|
||||
builder.append(codePath);
|
||||
builder.append(", namePath=");
|
||||
builder.append(namePath);
|
||||
builder.append(", level=");
|
||||
builder.append(level);
|
||||
builder.append(", hasChild=");
|
||||
builder.append(hasChild);
|
||||
builder.append(", division=");
|
||||
builder.append(division);
|
||||
builder.append(", country=");
|
||||
builder.append(country);
|
||||
builder.append(", region=");
|
||||
builder.append(region);
|
||||
builder.append(", locality=");
|
||||
builder.append(locality);
|
||||
builder.append(", street=");
|
||||
builder.append(street);
|
||||
builder.append(", address=");
|
||||
builder.append(address);
|
||||
builder.append(", contact=");
|
||||
builder.append(contact);
|
||||
builder.append(", postalCode=");
|
||||
builder.append(postalCode);
|
||||
builder.append(", phone=");
|
||||
builder.append(phone);
|
||||
builder.append(", fax=");
|
||||
builder.append(fax);
|
||||
builder.append(", email=");
|
||||
builder.append(email);
|
||||
builder.append(", sortIndex=");
|
||||
builder.append(sortIndex);
|
||||
builder.append(", ldapDn=");
|
||||
builder.append(ldapDn);
|
||||
builder.append(", description=");
|
||||
builder.append(description);
|
||||
builder.append(", status=");
|
||||
builder.append(status);
|
||||
builder.append("]");
|
||||
return builder.toString();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -63,7 +63,6 @@ public class HttpResponseAdapter {
|
||||
out.close();
|
||||
}
|
||||
} catch (IOException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user