package org.xdi.config.oxtrust;

import org.gluu.persist.model.base.Entry;
import org.gluu.site.ldap.persistence.annotation.LdapAttribute;
import org.gluu.site.ldap.persistence.annotation.LdapDN;
import org.gluu.site.ldap.persistence.annotation.LdapEntry;
import org.gluu.site.ldap.persistence.annotation.LdapJsonObject;
import org.gluu.site.ldap.persistence.annotation.LdapObjectClass;
import org.xdi.model.passport.PassportConfiguration;

/**
 * @author Shekhar L.
 * @author Yuriy Movchan Date: 12/06/2016
 * @Date 07/17/2016
 */

@LdapEntry
@LdapObjectClass(values = { "top", "oxPassportConfiguration" })
public class LdapOxPassportConfiguration extends Entry {

	private static final long serialVersionUID = -8451013277721189767L;
	@LdapDN
	private String dn;
	@LdapJsonObject
	@LdapAttribute(name = "gluuPassportConfiguration")
	private PassportConfiguration passportConfiguration;

	public String getDn() {
		return dn;
	}

	public void setDn(String dn) {
		this.dn = dn;
	}

	public PassportConfiguration getPassportConfiguration() {
		return passportConfiguration;
	}

	public void setPassportConfiguration(PassportConfiguration passportConfiguration) {
		this.passportConfiguration = passportConfiguration;
	}
}

@@ -136,65 +136,8 @@
 te;%0A
-import org.gluu.site.ldap.persistence.annotation.LdapDN;%0A
 impo
@@ -188,24 +188,24 @@
 .LdapEntry;%0A
+
 import org.g
@@ -676,37 +676,9 @@
 7L;%0A
-%09@LdapDN%0A%09private String dn;
 %0A
+
 %09@Ld
@@ -801,102 +801,8 @@
 n;%0A%0A
-%09public String getDn() %7B%0A%09%09return dn;%0A%09%7D%0A%0A%09public void setDn(String dn) %7B%0A%09%09this.dn = dn;%0A%09%7D%0A%0A
 %09pub
@@ -1031,13 +1031,14 @@
 ration;%0A
-
 %09%7D%0A
+%0A
 %7D%0A

Remove already-inherited field