ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject [19/44] ARGUS-1. Initial code commit (Selvamohan Neethiraj via omalley)
Date Thu, 14 Aug 2014 20:50:30 GMT
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7defc061/security-admin/src/main/java/com/xasecure/view/VXAccessAuditList.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/view/VXAccessAuditList.java b/security-admin/src/main/java/com/xasecure/view/VXAccessAuditList.java
new file mode 100644
index 0000000..765fdf0
--- /dev/null
+++ b/security-admin/src/main/java/com/xasecure/view/VXAccessAuditList.java
@@ -0,0 +1,72 @@
+package com.xasecure.view;
+/*
+ * Copyright (c) 2014 XASecure
+ * All rights reserved.
+ *
+ * This software is the confidential and proprietary information of
+ * XASecure ("Confidential Information").  You shall not
+ * disclose such Confidential Information and shall use it only in
+ * accordance with the terms of the license agreement you entered into
+ * with XASecure
+ */
+
+/**
+ * List wrapper class for VXAccessAudit
+ * 
+ */
+
+import java.util.*;
+import javax.xml.bind.annotation.*;
+
+import org.codehaus.jackson.annotate.JsonAutoDetect;
+import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
+import org.codehaus.jackson.map.annotate.JsonSerialize;
+
+import com.xasecure.common.view.*;
+
+@JsonAutoDetect(getterVisibility=Visibility.NONE, setterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY)
+@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL )
+@XmlRootElement
+@XmlAccessorType(XmlAccessType.FIELD)
+public class VXAccessAuditList extends VList {
+	private static final long serialVersionUID = 1L;
+    List<VXAccessAudit> vXAccessAudits = new ArrayList<VXAccessAudit>();
+
+    public VXAccessAuditList() {
+	super();
+    }
+
+    public VXAccessAuditList(List<VXAccessAudit> objList) {
+	super(objList);
+	this.vXAccessAudits = objList;
+    }
+
+    /**
+     * @return the vXAccessAudits
+     */
+    public List<VXAccessAudit> getVXAccessAudits() {
+	return vXAccessAudits;
+    }
+
+    /**
+     * @param vXAccessAudits
+     *            the vXAccessAudits to set
+     */
+    public void setVXAccessAudits(List<VXAccessAudit> vXAccessAudits) {
+	this.vXAccessAudits = vXAccessAudits;
+    }
+
+    @Override
+    public int getListSize() {
+	if (vXAccessAudits != null) {
+	    return vXAccessAudits.size();
+	}
+	return 0;
+    }
+
+    @Override
+    public List<VXAccessAudit> getList() {
+	return vXAccessAudits;
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7defc061/security-admin/src/main/java/com/xasecure/view/VXAsset.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/view/VXAsset.java b/security-admin/src/main/java/com/xasecure/view/VXAsset.java
new file mode 100644
index 0000000..90b7be5
--- /dev/null
+++ b/security-admin/src/main/java/com/xasecure/view/VXAsset.java
@@ -0,0 +1,201 @@
+package com.xasecure.view;
+/*
+ * Copyright (c) 2014 XASecure
+ * All rights reserved.
+ *
+ * This software is the confidential and proprietary information of
+ * XASecure ("Confidential Information").  You shall not
+ * disclose such Confidential Information and shall use it only in
+ * accordance with the terms of the license agreement you entered into
+ * with XASecure
+ */
+
+/**
+ * Asset
+ *
+ */
+
+import java.util.*;
+
+import com.xasecure.common.*;
+import com.xasecure.common.view.*;
+
+import com.xasecure.common.*;
+import com.xasecure.json.JsonDateSerializer;
+
+import com.xasecure.view.*;
+
+import javax.xml.bind.annotation.*;
+
+import org.codehaus.jackson.annotate.JsonAutoDetect;
+import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
+import org.codehaus.jackson.annotate.JsonIgnoreProperties;
+import org.codehaus.jackson.map.annotate.JsonSerialize;
+
+@JsonAutoDetect(getterVisibility=Visibility.NONE, setterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY)
+@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL )
+@JsonIgnoreProperties(ignoreUnknown=true)
+@XmlRootElement
+public class VXAsset extends VXDataObject implements java.io.Serializable {
+	private static final long serialVersionUID = 1L;
+
+
+	/**
+	 * Name
+	 */
+	protected String name;
+	/**
+	 * Description
+	 */
+	protected String description;
+	/**
+	 * Status
+	 * This attribute is of type enum CommonEnums::ActiveStatus
+	 */
+	protected int activeStatus;
+	/**
+	 * Type of asset
+	 * This attribute is of type enum CommonEnums::AssetType
+	 */
+	protected int assetType = AppConstants.ASSET_UNKNOWN;
+	/**
+	 * Config in json format
+	 */
+	protected String config;
+	/**
+	 * Support native authorization
+	 */
+	protected boolean supportNative = false;
+
+	/**
+	 * Default constructor. This will set all the attributes to default value.
+	 */
+	public VXAsset ( ) {
+		activeStatus = 0;
+		assetType = AppConstants.ASSET_UNKNOWN;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>name</b>.
+	 * You cannot set null to the attribute.
+	 * @param name Value to set member attribute <b>name</b>
+	 */
+	public void setName( String name ) {
+		this.name = name;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>name</b>
+	 * @return String - value of member attribute <b>name</b>.
+	 */
+	public String getName( ) {
+		return this.name;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>description</b>.
+	 * You cannot set null to the attribute.
+	 * @param description Value to set member attribute <b>description</b>
+	 */
+	public void setDescription( String description ) {
+		this.description = description;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>description</b>
+	 * @return String - value of member attribute <b>description</b>.
+	 */
+	public String getDescription( ) {
+		return this.description;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>activeStatus</b>.
+	 * You cannot set null to the attribute.
+	 * @param activeStatus Value to set member attribute <b>activeStatus</b>
+	 */
+	public void setActiveStatus( int activeStatus ) {
+		this.activeStatus = activeStatus;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>activeStatus</b>
+	 * @return int - value of member attribute <b>activeStatus</b>.
+	 */
+	public int getActiveStatus( ) {
+		return this.activeStatus;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>assetType</b>.
+	 * You cannot set null to the attribute.
+	 * @param assetType Value to set member attribute <b>assetType</b>
+	 */
+	public void setAssetType( int assetType ) {
+		this.assetType = assetType;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>assetType</b>
+	 * @return int - value of member attribute <b>assetType</b>.
+	 */
+	public int getAssetType( ) {
+		return this.assetType;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>config</b>.
+	 * You cannot set null to the attribute.
+	 * @param config Value to set member attribute <b>config</b>
+	 */
+	public void setConfig( String config ) {
+		this.config = config;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>config</b>
+	 * @return String - value of member attribute <b>config</b>.
+	 */
+	public String getConfig( ) {
+		return this.config;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>supportNative</b>.
+	 * You cannot set null to the attribute.
+	 * @param supportNative Value to set member attribute <b>supportNative</b>
+	 */
+	public void setSupportNative( boolean supportNative ) {
+		this.supportNative = supportNative;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>supportNative</b>
+	 * @return boolean - value of member attribute <b>supportNative</b>.
+	 */
+	public boolean isSupportNative( ) {
+		return this.supportNative;
+	}
+
+	@Override
+	public int getMyClassType( ) {
+	    return AppConstants.CLASS_TYPE_XA_ASSET;
+	}
+
+	/**
+	 * This return the bean content in string format
+	 * @return formatedStr
+	*/
+	public String toString( ) {
+		String str = "VXAsset={";
+		str += super.toString();
+		str += "name={" + name + "} ";
+		str += "description={" + description + "} ";
+		str += "activeStatus={" + activeStatus + "} ";
+		str += "assetType={" + assetType + "} ";
+		str += "config={" + config + "} ";
+		str += "supportNative={" + supportNative + "} ";
+		str += "}";
+		return str;
+	}
+}

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7defc061/security-admin/src/main/java/com/xasecure/view/VXAssetList.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/view/VXAssetList.java b/security-admin/src/main/java/com/xasecure/view/VXAssetList.java
new file mode 100644
index 0000000..16f5e62
--- /dev/null
+++ b/security-admin/src/main/java/com/xasecure/view/VXAssetList.java
@@ -0,0 +1,72 @@
+package com.xasecure.view;
+/*
+ * Copyright (c) 2014 XASecure
+ * All rights reserved.
+ *
+ * This software is the confidential and proprietary information of
+ * XASecure ("Confidential Information").  You shall not
+ * disclose such Confidential Information and shall use it only in
+ * accordance with the terms of the license agreement you entered into
+ * with XASecure
+ */
+
+/**
+ * List wrapper class for VXAsset
+ * 
+ */
+
+import java.util.*;
+import javax.xml.bind.annotation.*;
+
+import org.codehaus.jackson.annotate.JsonAutoDetect;
+import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
+import org.codehaus.jackson.map.annotate.JsonSerialize;
+
+import com.xasecure.common.view.*;
+
+@JsonAutoDetect(getterVisibility=Visibility.NONE, setterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY)
+@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL )
+@XmlRootElement
+@XmlAccessorType(XmlAccessType.FIELD)
+public class VXAssetList extends VList {
+	private static final long serialVersionUID = 1L;
+    List<VXAsset> vXAssets = new ArrayList<VXAsset>();
+
+    public VXAssetList() {
+	super();
+    }
+
+    public VXAssetList(List<VXAsset> objList) {
+	super(objList);
+	this.vXAssets = objList;
+    }
+
+    /**
+     * @return the vXAssets
+     */
+    public List<VXAsset> getVXAssets() {
+	return vXAssets;
+    }
+
+    /**
+     * @param vXAssets
+     *            the vXAssets to set
+     */
+    public void setVXAssets(List<VXAsset> vXAssets) {
+	this.vXAssets = vXAssets;
+    }
+
+    @Override
+    public int getListSize() {
+	if (vXAssets != null) {
+	    return vXAssets.size();
+	}
+	return 0;
+    }
+
+    @Override
+    public List<VXAsset> getList() {
+	return vXAssets;
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7defc061/security-admin/src/main/java/com/xasecure/view/VXAuditMap.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/view/VXAuditMap.java b/security-admin/src/main/java/com/xasecure/view/VXAuditMap.java
new file mode 100644
index 0000000..6396e0f
--- /dev/null
+++ b/security-admin/src/main/java/com/xasecure/view/VXAuditMap.java
@@ -0,0 +1,155 @@
+package com.xasecure.view;
+/*
+ * Copyright (c) 2014 XASecure
+ * All rights reserved.
+ *
+ * This software is the confidential and proprietary information of
+ * XASecure ("Confidential Information").  You shall not
+ * disclose such Confidential Information and shall use it only in
+ * accordance with the terms of the license agreement you entered into
+ * with XASecure
+ */
+
+/**
+ * Audi map
+ * 
+ */
+
+import java.util.*;
+
+import com.xasecure.common.*;
+import com.xasecure.common.view.*;
+
+import com.xasecure.common.*;
+import com.xasecure.json.JsonDateSerializer;
+
+import com.xasecure.view.*;
+
+import javax.xml.bind.annotation.*;
+
+import org.codehaus.jackson.annotate.JsonAutoDetect;
+import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
+import org.codehaus.jackson.annotate.JsonIgnoreProperties;
+import org.codehaus.jackson.map.annotate.JsonSerialize;
+
+@JsonAutoDetect(getterVisibility=Visibility.NONE, setterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY)
+@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL )
+@JsonIgnoreProperties(ignoreUnknown=true)
+@XmlRootElement
+public class VXAuditMap extends VXDataObject implements java.io.Serializable {
+	private static final long serialVersionUID = 1L;
+
+
+	/**
+	 * Id of the resource
+	 */
+	protected Long resourceId;
+	/**
+	 * Id of the group
+	 */
+	protected Long groupId;
+	/**
+	 * Id of the user
+	 */
+	protected Long userId;
+	/**
+	 * Type of audit
+	 * This attribute is of type enum CommonEnums::XAAuditType
+	 */
+	protected int auditType = AppConstants.XA_AUDIT_TYPE_UNKNOWN;
+
+	/**
+	 * Default constructor. This will set all the attributes to default value.
+	 */
+	public VXAuditMap ( ) {
+		auditType = AppConstants.XA_AUDIT_TYPE_UNKNOWN;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>resourceId</b>.
+	 * You cannot set null to the attribute.
+	 * @param resourceId Value to set member attribute <b>resourceId</b>
+	 */
+	public void setResourceId( Long resourceId ) {
+		this.resourceId = resourceId;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>resourceId</b>
+	 * @return Long - value of member attribute <b>resourceId</b>.
+	 */
+	public Long getResourceId( ) {
+		return this.resourceId;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>groupId</b>.
+	 * You cannot set null to the attribute.
+	 * @param groupId Value to set member attribute <b>groupId</b>
+	 */
+	public void setGroupId( Long groupId ) {
+		this.groupId = groupId;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>groupId</b>
+	 * @return Long - value of member attribute <b>groupId</b>.
+	 */
+	public Long getGroupId( ) {
+		return this.groupId;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>userId</b>.
+	 * You cannot set null to the attribute.
+	 * @param userId Value to set member attribute <b>userId</b>
+	 */
+	public void setUserId( Long userId ) {
+		this.userId = userId;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>userId</b>
+	 * @return Long - value of member attribute <b>userId</b>.
+	 */
+	public Long getUserId( ) {
+		return this.userId;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>auditType</b>.
+	 * You cannot set null to the attribute.
+	 * @param auditType Value to set member attribute <b>auditType</b>
+	 */
+	public void setAuditType( int auditType ) {
+		this.auditType = auditType;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>auditType</b>
+	 * @return int - value of member attribute <b>auditType</b>.
+	 */
+	public int getAuditType( ) {
+		return this.auditType;
+	}
+
+	@Override
+	public int getMyClassType( ) {
+	    return AppConstants.CLASS_TYPE_XA_AUDIT_MAP;
+	}
+
+	/**
+	 * This return the bean content in string format
+	 * @return formatedStr
+	*/
+	public String toString( ) {
+		String str = "VXAuditMap={";
+		str += super.toString();
+		str += "resourceId={" + resourceId + "} ";
+		str += "groupId={" + groupId + "} ";
+		str += "userId={" + userId + "} ";
+		str += "auditType={" + auditType + "} ";
+		str += "}";
+		return str;
+	}
+}

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7defc061/security-admin/src/main/java/com/xasecure/view/VXAuditMapList.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/view/VXAuditMapList.java b/security-admin/src/main/java/com/xasecure/view/VXAuditMapList.java
new file mode 100644
index 0000000..96c4238
--- /dev/null
+++ b/security-admin/src/main/java/com/xasecure/view/VXAuditMapList.java
@@ -0,0 +1,72 @@
+package com.xasecure.view;
+/*
+ * Copyright (c) 2014 XASecure
+ * All rights reserved.
+ *
+ * This software is the confidential and proprietary information of
+ * XASecure ("Confidential Information").  You shall not
+ * disclose such Confidential Information and shall use it only in
+ * accordance with the terms of the license agreement you entered into
+ * with XASecure
+ */
+
+/**
+ * List wrapper class for VXAuditMap
+ * 
+ */
+
+import java.util.*;
+import javax.xml.bind.annotation.*;
+
+import org.codehaus.jackson.annotate.JsonAutoDetect;
+import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
+import org.codehaus.jackson.map.annotate.JsonSerialize;
+
+import com.xasecure.common.view.*;
+
+@JsonAutoDetect(getterVisibility=Visibility.NONE, setterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY)
+@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL )
+@XmlRootElement
+@XmlAccessorType(XmlAccessType.FIELD)
+public class VXAuditMapList extends VList {
+	private static final long serialVersionUID = 1L;
+    List<VXAuditMap> vXAuditMaps = new ArrayList<VXAuditMap>();
+
+    public VXAuditMapList() {
+	super();
+    }
+
+    public VXAuditMapList(List<VXAuditMap> objList) {
+	super(objList);
+	this.vXAuditMaps = objList;
+    }
+
+    /**
+     * @return the vXAuditMaps
+     */
+    public List<VXAuditMap> getVXAuditMaps() {
+	return vXAuditMaps;
+    }
+
+    /**
+     * @param vXAuditMaps
+     *            the vXAuditMaps to set
+     */
+    public void setVXAuditMaps(List<VXAuditMap> vXAuditMaps) {
+	this.vXAuditMaps = vXAuditMaps;
+    }
+
+    @Override
+    public int getListSize() {
+	if (vXAuditMaps != null) {
+	    return vXAuditMaps.size();
+	}
+	return 0;
+    }
+
+    @Override
+    public List<VXAuditMap> getList() {
+	return vXAuditMaps;
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7defc061/security-admin/src/main/java/com/xasecure/view/VXAuditRecord.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/view/VXAuditRecord.java b/security-admin/src/main/java/com/xasecure/view/VXAuditRecord.java
new file mode 100644
index 0000000..715b0da
--- /dev/null
+++ b/security-admin/src/main/java/com/xasecure/view/VXAuditRecord.java
@@ -0,0 +1,220 @@
+package com.xasecure.view;
+
+import java.util.Date;
+
+import javax.xml.bind.annotation.XmlRootElement;
+
+import org.codehaus.jackson.annotate.JsonAutoDetect;
+import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
+import org.codehaus.jackson.map.annotate.JsonSerialize;
+
+import com.xasecure.common.AppConstants;
+
+@JsonAutoDetect(getterVisibility=Visibility.NONE, setterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY)
+@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL )
+@XmlRootElement
+public class VXAuditRecord {
+
+	/**
+	 * Date of audit log
+	 */
+	protected Date date;
+	
+	/**
+	 * Name of the resource
+	 */
+	protected String resource;
+	
+	/**
+	 * Action which was audited
+	 */
+	protected String action;
+	
+	/**
+	 * Result of the policy enforced
+	 */
+	protected String result;
+	
+	/**
+	 * User name whose action was audited
+	 */
+	protected String user;
+	
+	/**
+	 * Name of the policy enforcer
+	 */
+	protected String enforcer;
+	
+	/**
+	 * Type of resource for which the audit was done
+	 */
+	protected int resourceType = AppConstants.RESOURCE_UNKNOWN;
+	
+	/**
+	 * Type of asset for which the audit was done
+	 * This attribute is of type enum AppCommonEnums::AssetType
+	 */
+	protected int assetType = AppConstants.ASSET_UNKNOWN;
+
+	/**
+	 * Default constructor. This will set all the attributes to default value.
+	 */
+	public VXAuditRecord() {
+		resourceType = AppConstants.RESOURCE_UNKNOWN;
+		assetType = AppConstants.ASSET_UNKNOWN;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>date</b>
+	 * @return Date - value of member attribute <b>date</b>.
+	 */
+	public Date getDate() {
+		return date;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>date</b>.
+	 * You cannot set null to the attribute.
+	 * @param date Value to set member attribute <b>date</b>
+	 */
+	public void setDate(Date date) {
+		this.date = date;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>resource</b>
+	 * @return String - value of member attribute <b>resource</b>.
+	 */
+	public String getResource() {
+		return resource;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>resource</b>.
+	 * You cannot set null to the attribute.
+	 * @param resource Value to set member attribute <b>resource</b>
+	 */
+	public void setResource(String resource) {
+		this.resource = resource;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>action</b>
+	 * @return String - value of member attribute <b>action</b>.
+	 */
+	public String getAction() {
+		return action;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>action</b>.
+	 * You cannot set null to the attribute.
+	 * @param action Value to set member attribute <b>action</b>
+	 */
+	public void setAction(String action) {
+		this.action = action;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>result</b>
+	 * @return String - value of member attribute <b>result</b>.
+	 */
+	public String getResult() {
+		return result;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>result</b>.
+	 * You cannot set null to the attribute.
+	 * @param result Value to set member attribute <b>result</b>
+	 */
+	public void setResult(String result) {
+		this.result = result;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>user</b>
+	 * @return String - value of member attribute <b>user</b>.
+	 */
+	public String getUser() {
+		return user;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>user</b>.
+	 * You cannot set null to the attribute.
+	 * @param user Value to set member attribute <b>user</b>
+	 */
+	public void setUser(String user) {
+		this.user = user;
+	}
+
+	public String getEnforcer() {
+		return enforcer;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>enforcer</b>.
+	 * You cannot set null to the attribute.
+	 * @param enforcer Value to set member attribute <b>enforcer</b>
+	 */
+	public void setEnforcer(String enforcer) {
+		this.enforcer = enforcer;
+	}
+	
+	/**
+	 * Returns the value for the member attribute <b>resourceType</b>
+	 * @return int - value of member attribute <b>resourceType</b>.
+	 */
+	public int getResourceType( ) {
+		return this.resourceType;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>resourceType</b>.
+	 * You cannot set null to the attribute.
+	 * @param resourceType Value to set member attribute <b>resourceType</b>
+	 */
+	public void setResourceType( int resourceType ) {
+		this.resourceType = resourceType;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>assetType</b>
+	 * @return int - value of member attribute <b>assetType</b>.
+	 */
+	public int getAssetType() {
+		return assetType;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>assetType</b>.
+	 * You cannot set null to the attribute.
+	 * @param assetType Value to set member attribute <b>assetType</b>
+	 */
+	public void setAssetType(int assetType) {
+		this.assetType = assetType;
+	}
+
+	/**
+	 * This return the bean content in string format
+	 * 
+	 * @return formatedStr
+	 */
+
+	public String toString() {
+		String str = "XVAuditRecord={";
+		str += super.toString();
+		str += "date={" + date + "} ";
+		str += "resource={" + resource + "} ";
+		str += "action={" + action + "} ";
+		str += "result={" + result + "} ";
+		str += "user={" + user + "} ";
+		str += "enforcer={" + enforcer + "} ";
+		str += "resourceType={" + resourceType + "} ";
+		str += "assetType={" + assetType + "} ";
+		str += "}";
+		return str;
+	}
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7defc061/security-admin/src/main/java/com/xasecure/view/VXAuditRecordList.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/view/VXAuditRecordList.java b/security-admin/src/main/java/com/xasecure/view/VXAuditRecordList.java
new file mode 100644
index 0000000..4f311ca
--- /dev/null
+++ b/security-admin/src/main/java/com/xasecure/view/VXAuditRecordList.java
@@ -0,0 +1,50 @@
+package com.xasecure.view;
+
+import java.util.*;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+
+import org.codehaus.jackson.annotate.JsonAutoDetect;
+import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
+import org.codehaus.jackson.map.annotate.JsonSerialize;
+
+import com.xasecure.common.view.VList;
+
+@JsonAutoDetect(getterVisibility=Visibility.NONE, setterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY)
+@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL )
+@XmlRootElement
+@XmlAccessorType(XmlAccessType.FIELD)
+public class VXAuditRecordList extends VList {
+
+	/**
+	 * 
+	 */
+	private static final long serialVersionUID = 1L;
+	List<VXAuditRecord> vXAuditRecords = new ArrayList<VXAuditRecord>();
+
+	public List<VXAuditRecord> getvAudits() {
+		return vXAuditRecords;
+	}
+
+	public void setvAudits(List<VXAuditRecord> vXAuditRecords) {
+		this.vXAuditRecords = vXAuditRecords;
+	}
+
+	public VXAuditRecordList() {
+		super();
+	}
+
+	@Override
+	public int getListSize() {
+		// TODO Auto-generated method stub
+		return 0;
+	}
+
+	@Override
+	public List<?> getList() {
+		// TODO Auto-generated method stub
+		return null;
+	}
+}

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7defc061/security-admin/src/main/java/com/xasecure/view/VXAuthSession.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/view/VXAuthSession.java b/security-admin/src/main/java/com/xasecure/view/VXAuthSession.java
new file mode 100644
index 0000000..8cad2b0
--- /dev/null
+++ b/security-admin/src/main/java/com/xasecure/view/VXAuthSession.java
@@ -0,0 +1,492 @@
+package com.xasecure.view;
+/*
+ * Copyright (c) 2014 XASecure
+ * All rights reserved.
+ *
+ * This software is the confidential and proprietary information of
+ * XASecure ("Confidential Information").  You shall not
+ * disclose such Confidential Information and shall use it only in
+ * accordance with the terms of the license agreement you entered into
+ * with XASecure
+ */
+
+/**
+ * Authentication sessions
+ * 
+ */
+
+import java.util.*;
+
+import com.xasecure.common.*;
+import com.xasecure.common.view.*;
+
+import com.xasecure.common.*;
+import com.xasecure.json.JsonDateSerializer;
+
+import com.xasecure.view.*;
+
+import javax.xml.bind.annotation.*;
+
+import org.codehaus.jackson.annotate.JsonAutoDetect;
+import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
+import org.codehaus.jackson.annotate.JsonIgnoreProperties;
+import org.codehaus.jackson.map.annotate.JsonSerialize;
+
+@JsonAutoDetect(getterVisibility=Visibility.NONE, setterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY)
+@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL )
+@JsonIgnoreProperties(ignoreUnknown=true)
+@XmlRootElement
+public class VXAuthSession extends VXDataObject implements java.io.Serializable {
+	private static final long serialVersionUID = 1L;
+
+
+	/**
+	 * Login ID of the user
+	 */
+	protected String loginId;
+	/**
+	 * Id of the user
+	 */
+	protected Long userId;
+	/**
+	 * Email address of the user
+	 */
+	protected String emailAddress;
+	/**
+	 * Is this user a test user?
+	 */
+	protected boolean isTestUser = false;
+	/**
+	 * First name of the user
+	 */
+	protected String firstName;
+	/**
+	 * Last name of the user
+	 */
+	protected String lastName;
+	/**
+	 * Public name of the user
+	 */
+	protected String publicScreenName;
+	/**
+	 * Family name of the user
+	 */
+	protected String familyScreenName;
+	/**
+	 * External session id. Mostly Spring/HTTP session
+	 */
+	protected String extSessionId;
+	/**
+	 * Date and time of authentication
+	 */
+	@JsonSerialize(using=JsonDateSerializer.class)
+	protected Date authTime;
+	/**
+	 * Authentication status
+	 * This attribute is of type enum XXAuthSession::AuthStatus
+	 */
+	protected int authStatus;
+	/**
+	 * Authentication type
+	 * This attribute is of type enum XXAuthSession::AuthType
+	 */
+	protected int authType;
+	/**
+	 * Authentication provider
+	 * This attribute is of type enum XXAuthSession::AuthType
+	 */
+	protected int authProvider;
+	/**
+	 * Type of the device
+	 * This attribute is of type enum CommonEnums::DeviceType
+	 */
+	protected int deviceType;
+	/**
+	 * IP where the request came from
+	 */
+	protected String requestIP;
+	/**
+	 * City name
+	 */
+	protected String cityName;
+	/**
+	 * State name
+	 */
+	protected String stateName;
+	/**
+	 * Country name
+	 */
+	protected String countryName;
+	/**
+	 * UserAgent of the requesting device
+	 */
+	protected String requestUserAgent;
+
+	/**
+	 * Default constructor. This will set all the attributes to default value.
+	 */
+	public VXAuthSession ( ) {
+		authStatus = 0;
+		authType = 0;
+		authProvider = 0;
+		deviceType = 0;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>loginId</b>.
+	 * You cannot set null to the attribute.
+	 * @param loginId Value to set member attribute <b>loginId</b>
+	 */
+	public void setLoginId( String loginId ) {
+		this.loginId = loginId;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>loginId</b>
+	 * @return String - value of member attribute <b>loginId</b>.
+	 */
+	public String getLoginId( ) {
+		return this.loginId;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>userId</b>.
+	 * You cannot set null to the attribute.
+	 * @param userId Value to set member attribute <b>userId</b>
+	 */
+	public void setUserId( Long userId ) {
+		this.userId = userId;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>userId</b>
+	 * @return Long - value of member attribute <b>userId</b>.
+	 */
+	public Long getUserId( ) {
+		return this.userId;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>emailAddress</b>.
+	 * You cannot set null to the attribute.
+	 * @param emailAddress Value to set member attribute <b>emailAddress</b>
+	 */
+	public void setEmailAddress( String emailAddress ) {
+		this.emailAddress = emailAddress;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>emailAddress</b>
+	 * @return String - value of member attribute <b>emailAddress</b>.
+	 */
+	public String getEmailAddress( ) {
+		return this.emailAddress;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>isTestUser</b>.
+	 * You cannot set null to the attribute.
+	 * @param isTestUser Value to set member attribute <b>isTestUser</b>
+	 */
+	public void setIsTestUser( boolean isTestUser ) {
+		this.isTestUser = isTestUser;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>isTestUser</b>
+	 * @return boolean - value of member attribute <b>isTestUser</b>.
+	 */
+	public boolean isIsTestUser( ) {
+		return this.isTestUser;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>firstName</b>.
+	 * You cannot set null to the attribute.
+	 * @param firstName Value to set member attribute <b>firstName</b>
+	 */
+	public void setFirstName( String firstName ) {
+		this.firstName = firstName;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>firstName</b>
+	 * @return String - value of member attribute <b>firstName</b>.
+	 */
+	public String getFirstName( ) {
+		return this.firstName;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>lastName</b>.
+	 * You cannot set null to the attribute.
+	 * @param lastName Value to set member attribute <b>lastName</b>
+	 */
+	public void setLastName( String lastName ) {
+		this.lastName = lastName;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>lastName</b>
+	 * @return String - value of member attribute <b>lastName</b>.
+	 */
+	public String getLastName( ) {
+		return this.lastName;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>publicScreenName</b>.
+	 * You cannot set null to the attribute.
+	 * @param publicScreenName Value to set member attribute <b>publicScreenName</b>
+	 */
+	public void setPublicScreenName( String publicScreenName ) {
+		this.publicScreenName = publicScreenName;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>publicScreenName</b>
+	 * @return String - value of member attribute <b>publicScreenName</b>.
+	 */
+	public String getPublicScreenName( ) {
+		return this.publicScreenName;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>familyScreenName</b>.
+	 * You cannot set null to the attribute.
+	 * @param familyScreenName Value to set member attribute <b>familyScreenName</b>
+	 */
+	public void setFamilyScreenName( String familyScreenName ) {
+		this.familyScreenName = familyScreenName;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>familyScreenName</b>
+	 * @return String - value of member attribute <b>familyScreenName</b>.
+	 */
+	public String getFamilyScreenName( ) {
+		return this.familyScreenName;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>extSessionId</b>.
+	 * You cannot set null to the attribute.
+	 * @param extSessionId Value to set member attribute <b>extSessionId</b>
+	 */
+	public void setExtSessionId( String extSessionId ) {
+		this.extSessionId = extSessionId;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>extSessionId</b>
+	 * @return String - value of member attribute <b>extSessionId</b>.
+	 */
+	public String getExtSessionId( ) {
+		return this.extSessionId;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>authTime</b>.
+	 * You cannot set null to the attribute.
+	 * @param authTime Value to set member attribute <b>authTime</b>
+	 */
+	public void setAuthTime( Date authTime ) {
+		this.authTime = authTime;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>authTime</b>
+	 * @return Date - value of member attribute <b>authTime</b>.
+	 */
+	public Date getAuthTime( ) {
+		return this.authTime;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>authStatus</b>.
+	 * You cannot set null to the attribute.
+	 * @param authStatus Value to set member attribute <b>authStatus</b>
+	 */
+	public void setAuthStatus( int authStatus ) {
+		this.authStatus = authStatus;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>authStatus</b>
+	 * @return int - value of member attribute <b>authStatus</b>.
+	 */
+	public int getAuthStatus( ) {
+		return this.authStatus;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>authType</b>.
+	 * You cannot set null to the attribute.
+	 * @param authType Value to set member attribute <b>authType</b>
+	 */
+	public void setAuthType( int authType ) {
+		this.authType = authType;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>authType</b>
+	 * @return int - value of member attribute <b>authType</b>.
+	 */
+	public int getAuthType( ) {
+		return this.authType;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>authProvider</b>.
+	 * You cannot set null to the attribute.
+	 * @param authProvider Value to set member attribute <b>authProvider</b>
+	 */
+	public void setAuthProvider( int authProvider ) {
+		this.authProvider = authProvider;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>authProvider</b>
+	 * @return int - value of member attribute <b>authProvider</b>.
+	 */
+	public int getAuthProvider( ) {
+		return this.authProvider;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>deviceType</b>.
+	 * You cannot set null to the attribute.
+	 * @param deviceType Value to set member attribute <b>deviceType</b>
+	 */
+	public void setDeviceType( int deviceType ) {
+		this.deviceType = deviceType;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>deviceType</b>
+	 * @return int - value of member attribute <b>deviceType</b>.
+	 */
+	public int getDeviceType( ) {
+		return this.deviceType;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>requestIP</b>.
+	 * You cannot set null to the attribute.
+	 * @param requestIP Value to set member attribute <b>requestIP</b>
+	 */
+	public void setRequestIP( String requestIP ) {
+		this.requestIP = requestIP;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>requestIP</b>
+	 * @return String - value of member attribute <b>requestIP</b>.
+	 */
+	public String getRequestIP( ) {
+		return this.requestIP;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>cityName</b>.
+	 * You cannot set null to the attribute.
+	 * @param cityName Value to set member attribute <b>cityName</b>
+	 */
+	public void setCityName( String cityName ) {
+		this.cityName = cityName;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>cityName</b>
+	 * @return String - value of member attribute <b>cityName</b>.
+	 */
+	public String getCityName( ) {
+		return this.cityName;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>stateName</b>.
+	 * You cannot set null to the attribute.
+	 * @param stateName Value to set member attribute <b>stateName</b>
+	 */
+	public void setStateName( String stateName ) {
+		this.stateName = stateName;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>stateName</b>
+	 * @return String - value of member attribute <b>stateName</b>.
+	 */
+	public String getStateName( ) {
+		return this.stateName;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>countryName</b>.
+	 * You cannot set null to the attribute.
+	 * @param countryName Value to set member attribute <b>countryName</b>
+	 */
+	public void setCountryName( String countryName ) {
+		this.countryName = countryName;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>countryName</b>
+	 * @return String - value of member attribute <b>countryName</b>.
+	 */
+	public String getCountryName( ) {
+		return this.countryName;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>requestUserAgent</b>.
+	 * You cannot set null to the attribute.
+	 * @param requestUserAgent Value to set member attribute <b>requestUserAgent</b>
+	 */
+	public void setRequestUserAgent( String requestUserAgent ) {
+		this.requestUserAgent = requestUserAgent;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>requestUserAgent</b>
+	 * @return String - value of member attribute <b>requestUserAgent</b>.
+	 */
+	public String getRequestUserAgent( ) {
+		return this.requestUserAgent;
+	}
+
+	@Override
+	public int getMyClassType( ) {
+	    return AppConstants.CLASS_TYPE_AUTH_SESS;
+	}
+
+	/**
+	 * This return the bean content in string format
+	 * @return formatedStr
+	*/
+	public String toString( ) {
+		String str = "VXAuthSession={";
+		str += super.toString();
+		str += "loginId={" + loginId + "} ";
+		str += "userId={" + userId + "} ";
+		str += "emailAddress={" + emailAddress + "} ";
+		str += "isTestUser={" + isTestUser + "} ";
+		str += "firstName={" + firstName + "} ";
+		str += "lastName={" + lastName + "} ";
+		str += "publicScreenName={" + publicScreenName + "} ";
+		str += "familyScreenName={" + familyScreenName + "} ";
+		str += "extSessionId={" + extSessionId + "} ";
+		str += "authTime={" + authTime + "} ";
+		str += "authStatus={" + authStatus + "} ";
+		str += "authType={" + authType + "} ";
+		str += "authProvider={" + authProvider + "} ";
+		str += "deviceType={" + deviceType + "} ";
+		str += "requestIP={" + requestIP + "} ";
+		str += "cityName={" + cityName + "} ";
+		str += "stateName={" + stateName + "} ";
+		str += "countryName={" + countryName + "} ";
+		str += "requestUserAgent={" + requestUserAgent + "} ";
+		str += "}";
+		return str;
+	}
+}

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7defc061/security-admin/src/main/java/com/xasecure/view/VXAuthSessionList.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/view/VXAuthSessionList.java b/security-admin/src/main/java/com/xasecure/view/VXAuthSessionList.java
new file mode 100644
index 0000000..97086d5
--- /dev/null
+++ b/security-admin/src/main/java/com/xasecure/view/VXAuthSessionList.java
@@ -0,0 +1,72 @@
+package com.xasecure.view;
+/*
+ * Copyright (c) 2014 XASecure
+ * All rights reserved.
+ *
+ * This software is the confidential and proprietary information of
+ * XASecure ("Confidential Information").  You shall not
+ * disclose such Confidential Information and shall use it only in
+ * accordance with the terms of the license agreement you entered into
+ * with XASecure
+ */
+
+/**
+ * List wrapper class for VXAuthSession
+ * 
+ */
+
+import java.util.*;
+import javax.xml.bind.annotation.*;
+
+import org.codehaus.jackson.annotate.JsonAutoDetect;
+import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
+import org.codehaus.jackson.map.annotate.JsonSerialize;
+
+import com.xasecure.common.view.*;
+
+@JsonAutoDetect(getterVisibility=Visibility.NONE, setterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY)
+@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL )
+@XmlRootElement
+@XmlAccessorType(XmlAccessType.FIELD)
+public class VXAuthSessionList extends VList {
+	private static final long serialVersionUID = 1L;
+    List<VXAuthSession> vXAuthSessions = new ArrayList<VXAuthSession>();
+
+    public VXAuthSessionList() {
+	super();
+    }
+
+    public VXAuthSessionList(List<VXAuthSession> objList) {
+	super(objList);
+	this.vXAuthSessions = objList;
+    }
+
+    /**
+     * @return the vXAuthSessions
+     */
+    public List<VXAuthSession> getVXAuthSessions() {
+	return vXAuthSessions;
+    }
+
+    /**
+     * @param vXAuthSessions
+     *            the vXAuthSessions to set
+     */
+    public void setVXAuthSessions(List<VXAuthSession> vXAuthSessions) {
+	this.vXAuthSessions = vXAuthSessions;
+    }
+
+    @Override
+    public int getListSize() {
+	if (vXAuthSessions != null) {
+	    return vXAuthSessions.size();
+	}
+	return 0;
+    }
+
+    @Override
+    public List<VXAuthSession> getList() {
+	return vXAuthSessions;
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7defc061/security-admin/src/main/java/com/xasecure/view/VXCredentialStore.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/view/VXCredentialStore.java b/security-admin/src/main/java/com/xasecure/view/VXCredentialStore.java
new file mode 100644
index 0000000..a70a6ef
--- /dev/null
+++ b/security-admin/src/main/java/com/xasecure/view/VXCredentialStore.java
@@ -0,0 +1,109 @@
+package com.xasecure.view;
+/*
+ * Copyright (c) 2014 XASecure
+ * All rights reserved.
+ *
+ * This software is the confidential and proprietary information of
+ * XASecure ("Confidential Information").  You shall not
+ * disclose such Confidential Information and shall use it only in
+ * accordance with the terms of the license agreement you entered into
+ * with XASecure
+ */
+
+/**
+ * Credential Store
+ 
+ */
+
+import java.util.*;
+
+import com.xasecure.common.*;
+import com.xasecure.common.view.*;
+
+import com.xasecure.common.*;
+import com.xasecure.json.JsonDateSerializer;
+
+import com.xasecure.view.*;
+
+import javax.xml.bind.annotation.*;
+
+import org.codehaus.jackson.annotate.JsonAutoDetect;
+import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
+import org.codehaus.jackson.annotate.JsonIgnoreProperties;
+import org.codehaus.jackson.map.annotate.JsonSerialize;
+
+@JsonAutoDetect(getterVisibility=Visibility.NONE, setterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY)
+@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL )
+@JsonIgnoreProperties(ignoreUnknown=true)
+@XmlRootElement
+public class VXCredentialStore extends VXDataObject implements java.io.Serializable {
+	private static final long serialVersionUID = 1L;
+
+
+	/**
+	 * Name
+	 */
+	protected String name;
+	/**
+	 * Description
+	 */
+	protected String description;
+
+	/**
+	 * Default constructor. This will set all the attributes to default value.
+	 */
+	public VXCredentialStore ( ) {
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>name</b>.
+	 * You cannot set null to the attribute.
+	 * @param name Value to set member attribute <b>name</b>
+	 */
+	public void setName( String name ) {
+		this.name = name;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>name</b>
+	 * @return String - value of member attribute <b>name</b>.
+	 */
+	public String getName( ) {
+		return this.name;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>description</b>.
+	 * You cannot set null to the attribute.
+	 * @param description Value to set member attribute <b>description</b>
+	 */
+	public void setDescription( String description ) {
+		this.description = description;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>description</b>
+	 * @return String - value of member attribute <b>description</b>.
+	 */
+	public String getDescription( ) {
+		return this.description;
+	}
+
+	@Override
+	public int getMyClassType( ) {
+	    return AppConstants.CLASS_TYPE_XA_CRED_STORE;
+	}
+
+	/**
+	 * This return the bean content in string format
+	 * @return formatedStr
+	*/
+	public String toString( ) {
+		String str = "VXCredentialStore={";
+		str += super.toString();
+		str += "name={" + name + "} ";
+		str += "description={" + description + "} ";
+		str += "}";
+		return str;
+	}
+}

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7defc061/security-admin/src/main/java/com/xasecure/view/VXCredentialStoreList.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/view/VXCredentialStoreList.java b/security-admin/src/main/java/com/xasecure/view/VXCredentialStoreList.java
new file mode 100644
index 0000000..cb93b89
--- /dev/null
+++ b/security-admin/src/main/java/com/xasecure/view/VXCredentialStoreList.java
@@ -0,0 +1,72 @@
+package com.xasecure.view;
+/*
+ * Copyright (c) 2014 XASecure
+ * All rights reserved.
+ *
+ * This software is the confidential and proprietary information of
+ * XASecure ("Confidential Information").  You shall not
+ * disclose such Confidential Information and shall use it only in
+ * accordance with the terms of the license agreement you entered into
+ * with XASecure
+ */
+
+/**
+ * List wrapper class for VXCredentialStore
+
+ */
+
+import java.util.*;
+import javax.xml.bind.annotation.*;
+
+import org.codehaus.jackson.annotate.JsonAutoDetect;
+import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
+import org.codehaus.jackson.map.annotate.JsonSerialize;
+
+import com.xasecure.common.view.*;
+
+@JsonAutoDetect(getterVisibility=Visibility.NONE, setterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY)
+@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL )
+@XmlRootElement
+@XmlAccessorType(XmlAccessType.FIELD)
+public class VXCredentialStoreList extends VList {
+	private static final long serialVersionUID = 1L;
+    List<VXCredentialStore> vXCredentialStores = new ArrayList<VXCredentialStore>();
+
+    public VXCredentialStoreList() {
+	super();
+    }
+
+    public VXCredentialStoreList(List<VXCredentialStore> objList) {
+	super(objList);
+	this.vXCredentialStores = objList;
+    }
+
+    /**
+     * @return the vXCredentialStores
+     */
+    public List<VXCredentialStore> getVXCredentialStores() {
+	return vXCredentialStores;
+    }
+
+    /**
+     * @param vXCredentialStores
+     *            the vXCredentialStores to set
+     */
+    public void setVXCredentialStores(List<VXCredentialStore> vXCredentialStores) {
+	this.vXCredentialStores = vXCredentialStores;
+    }
+
+    @Override
+    public int getListSize() {
+	if (vXCredentialStores != null) {
+	    return vXCredentialStores.size();
+	}
+	return 0;
+    }
+
+    @Override
+    public List<VXCredentialStore> getList() {
+	return vXCredentialStores;
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7defc061/security-admin/src/main/java/com/xasecure/view/VXDataObject.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/view/VXDataObject.java b/security-admin/src/main/java/com/xasecure/view/VXDataObject.java
new file mode 100644
index 0000000..acf467a
--- /dev/null
+++ b/security-admin/src/main/java/com/xasecure/view/VXDataObject.java
@@ -0,0 +1,177 @@
+package com.xasecure.view;
+/*
+ * Copyright (c) 2014 XASecure
+ * All rights reserved.
+ *
+ * This software is the confidential and proprietary information of
+ * XASecure ("Confidential Information").  You shall not
+ * disclose such Confidential Information and shall use it only in
+ * accordance with the terms of the license agreement you entered into
+ * with XASecure
+ */
+
+/**
+ * Base object class
+ * 
+ */
+
+import java.util.*;
+
+import com.xasecure.common.*;
+import com.xasecure.common.view.*;
+
+import com.xasecure.common.*;
+import com.xasecure.json.JsonDateSerializer;
+
+import com.xasecure.view.*;
+
+import javax.xml.bind.annotation.*;
+
+import org.codehaus.jackson.annotate.JsonAutoDetect;
+import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
+import org.codehaus.jackson.annotate.JsonIgnoreProperties;
+import org.codehaus.jackson.map.annotate.JsonSerialize;
+
+@JsonAutoDetect(getterVisibility=Visibility.NONE, setterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY)
+@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL )
+@JsonIgnoreProperties(ignoreUnknown=true)
+@XmlRootElement
+public class VXDataObject extends ViewBaseBean implements java.io.Serializable {
+	private static final long serialVersionUID = 1L;
+
+
+	/**
+	 * Id of the data
+	 */
+	protected Long id;
+	/**
+	 * Date when this data was created
+	 */
+	@JsonSerialize(using=JsonDateSerializer.class)
+	protected Date createDate;
+	/**
+	 * Date when this data was updated
+	 */
+	@JsonSerialize(using=JsonDateSerializer.class)
+	protected Date updateDate;
+	/**
+	 * Owner
+	 */
+	protected String owner;
+	/**
+	 * Updated By
+	 */
+	protected String updatedBy;
+
+	/**
+	 * Default constructor. This will set all the attributes to default value.
+	 */
+	public VXDataObject ( ) {
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>id</b>.
+	 * You cannot set null to the attribute.
+	 * @param id Value to set member attribute <b>id</b>
+	 */
+	public void setId( Long id ) {
+		this.id = id;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>id</b>
+	 * @return Long - value of member attribute <b>id</b>.
+	 */
+	public Long getId( ) {
+		return this.id;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>createDate</b>.
+	 * You cannot set null to the attribute.
+	 * @param createDate Value to set member attribute <b>createDate</b>
+	 */
+	public void setCreateDate( Date createDate ) {
+		this.createDate = createDate;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>createDate</b>
+	 * @return Date - value of member attribute <b>createDate</b>.
+	 */
+	public Date getCreateDate( ) {
+		return this.createDate;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>updateDate</b>.
+	 * You cannot set null to the attribute.
+	 * @param updateDate Value to set member attribute <b>updateDate</b>
+	 */
+	public void setUpdateDate( Date updateDate ) {
+		this.updateDate = updateDate;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>updateDate</b>
+	 * @return Date - value of member attribute <b>updateDate</b>.
+	 */
+	public Date getUpdateDate( ) {
+		return this.updateDate;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>owner</b>.
+	 * You cannot set null to the attribute.
+	 * @param owner Value to set member attribute <b>owner</b>
+	 */
+	public void setOwner( String owner ) {
+		this.owner = owner;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>owner</b>
+	 * @return String - value of member attribute <b>owner</b>.
+	 */
+	public String getOwner( ) {
+		return this.owner;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>updatedBy</b>.
+	 * You cannot set null to the attribute.
+	 * @param updatedBy Value to set member attribute <b>updatedBy</b>
+	 */
+	public void setUpdatedBy( String updatedBy ) {
+		this.updatedBy = updatedBy;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>updatedBy</b>
+	 * @return String - value of member attribute <b>updatedBy</b>.
+	 */
+	public String getUpdatedBy( ) {
+		return this.updatedBy;
+	}
+
+	@Override
+	public int getMyClassType( ) {
+	    return AppConstants.CLASS_TYPE_DATA_OBJECT;
+	}
+
+	/**
+	 * This return the bean content in string format
+	 * @return formatedStr
+	*/
+	public String toString( ) {
+		String str = "VXDataObject={";
+		str += super.toString();
+		str += "id={" + id + "} ";
+		str += "createDate={" + createDate + "} ";
+		str += "updateDate={" + updateDate + "} ";
+		str += "owner={" + owner + "} ";
+		str += "updatedBy={" + updatedBy + "} ";
+		str += "}";
+		return str;
+	}
+}

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7defc061/security-admin/src/main/java/com/xasecure/view/VXGroup.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/view/VXGroup.java b/security-admin/src/main/java/com/xasecure/view/VXGroup.java
new file mode 100644
index 0000000..7fcb8a6
--- /dev/null
+++ b/security-admin/src/main/java/com/xasecure/view/VXGroup.java
@@ -0,0 +1,170 @@
+package com.xasecure.view;
+/*
+ * Copyright (c) 2014 XASecure
+ * All rights reserved.
+ *
+ * This software is the confidential and proprietary information of
+ * XASecure ("Confidential Information").  You shall not
+ * disclose such Confidential Information and shall use it only in
+ * accordance with the terms of the license agreement you entered into
+ * with XASecure
+ */
+
+/**
+ * Group
+ *
+ */
+
+import java.util.*;
+
+import com.xasecure.common.*;
+import com.xasecure.common.view.*;
+
+import com.xasecure.common.*;
+import com.xasecure.json.JsonDateSerializer;
+
+import com.xasecure.view.*;
+
+import javax.persistence.Column;
+import javax.xml.bind.annotation.*;
+
+import org.codehaus.jackson.annotate.JsonAutoDetect;
+import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
+import org.codehaus.jackson.annotate.JsonIgnoreProperties;
+import org.codehaus.jackson.map.annotate.JsonSerialize;
+
+@JsonAutoDetect(getterVisibility=Visibility.NONE, setterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY)
+@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL )
+@JsonIgnoreProperties(ignoreUnknown=true)
+@XmlRootElement
+public class VXGroup extends VXDataObject implements java.io.Serializable {
+	private static final long serialVersionUID = 1L;
+
+
+	/**
+	 * Name
+	 */
+	protected String name;
+	/**
+	 * Description
+	 */
+	protected String description;
+	/**
+	 * Type of group
+	 * This attribute is of type enum CommonEnums::XAGroupType
+	 */
+	protected int groupType = AppConstants.XA_GROUP_UNKNOWN;
+	
+	protected int groupSource = XACommonEnums.GROUP_INTERNAL;
+	/**
+	 * Id of the credential store
+	 */
+	protected Long credStoreId;
+
+	/**
+	 * Default constructor. This will set all the attributes to default value.
+	 */
+	public VXGroup ( ) {
+		groupType = AppConstants.XA_GROUP_UNKNOWN;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>name</b>.
+	 * You cannot set null to the attribute.
+	 * @param name Value to set member attribute <b>name</b>
+	 */
+	public void setName( String name ) {
+		this.name = name;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>name</b>
+	 * @return String - value of member attribute <b>name</b>.
+	 */
+	public String getName( ) {
+		return this.name;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>description</b>.
+	 * You cannot set null to the attribute.
+	 * @param description Value to set member attribute <b>description</b>
+	 */
+	public void setDescription( String description ) {
+		this.description = description;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>description</b>
+	 * @return String - value of member attribute <b>description</b>.
+	 */
+	public String getDescription( ) {
+		return this.description;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>groupType</b>.
+	 * You cannot set null to the attribute.
+	 * @param groupType Value to set member attribute <b>groupType</b>
+	 */
+	public void setGroupType( int groupType ) {
+		this.groupType = groupType;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>groupType</b>
+	 * @return int - value of member attribute <b>groupType</b>.
+	 */
+	public int getGroupType( ) {
+		return this.groupType;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>credStoreId</b>.
+	 * You cannot set null to the attribute.
+	 * @param credStoreId Value to set member attribute <b>credStoreId</b>
+	 */
+	public void setCredStoreId( Long credStoreId ) {
+		this.credStoreId = credStoreId;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>credStoreId</b>
+	 * @return Long - value of member attribute <b>credStoreId</b>.
+	 */
+	public Long getCredStoreId( ) {
+		return this.credStoreId;
+	}
+
+	@Override
+	public int getMyClassType( ) {
+	    return AppConstants.CLASS_TYPE_XA_GROUP;
+	}
+
+	
+	
+
+	public int getGroupSource() {
+		return groupSource;
+	}
+
+	public void setGroupSource(int groupSource) {
+		this.groupSource = groupSource;
+	}
+
+	/**
+	 * This return the bean content in string format
+	 * @return formatedStr
+	*/
+	public String toString( ) {
+		String str = "VXGroup={";
+		str += super.toString();
+		str += "name={" + name + "} ";
+		str += "description={" + description + "} ";
+		str += "groupType={" + groupType + "} ";
+		str += "credStoreId={" + credStoreId + "} ";
+		str += "groupSrc={" + groupSource + "} ";
+		str += "}";
+		return str;
+	}
+}

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7defc061/security-admin/src/main/java/com/xasecure/view/VXGroupGroup.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/view/VXGroupGroup.java b/security-admin/src/main/java/com/xasecure/view/VXGroupGroup.java
new file mode 100644
index 0000000..84a8848
--- /dev/null
+++ b/security-admin/src/main/java/com/xasecure/view/VXGroupGroup.java
@@ -0,0 +1,131 @@
+package com.xasecure.view;
+/*
+ * Copyright (c) 2014 XASecure
+ * All rights reserved.
+ *
+ * This software is the confidential and proprietary information of
+ * XASecure ("Confidential Information").  You shall not
+ * disclose such Confidential Information and shall use it only in
+ * accordance with the terms of the license agreement you entered into
+ * with XASecure
+ */
+
+/**
+ * Group of groups
+ * 
+ */
+
+import java.util.*;
+
+import com.xasecure.common.*;
+import com.xasecure.common.view.*;
+
+import com.xasecure.common.*;
+import com.xasecure.json.JsonDateSerializer;
+
+import com.xasecure.view.*;
+
+import javax.xml.bind.annotation.*;
+
+import org.codehaus.jackson.annotate.JsonAutoDetect;
+import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
+import org.codehaus.jackson.annotate.JsonIgnoreProperties;
+import org.codehaus.jackson.map.annotate.JsonSerialize;
+
+@JsonAutoDetect(getterVisibility=Visibility.NONE, setterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY)
+@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL )
+@JsonIgnoreProperties(ignoreUnknown=true)
+@XmlRootElement
+public class VXGroupGroup extends VXDataObject implements java.io.Serializable {
+	private static final long serialVersionUID = 1L;
+
+
+	/**
+	 * Name
+	 */
+	protected String name;
+	/**
+	 * Id of the parent group
+	 */
+	protected Long parentGroupId;
+	/**
+	 * Id of the group
+	 */
+	protected Long groupId;
+
+	/**
+	 * Default constructor. This will set all the attributes to default value.
+	 */
+	public VXGroupGroup ( ) {
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>name</b>.
+	 * You cannot set null to the attribute.
+	 * @param name Value to set member attribute <b>name</b>
+	 */
+	public void setName( String name ) {
+		this.name = name;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>name</b>
+	 * @return String - value of member attribute <b>name</b>.
+	 */
+	public String getName( ) {
+		return this.name;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>parentGroupId</b>.
+	 * You cannot set null to the attribute.
+	 * @param parentGroupId Value to set member attribute <b>parentGroupId</b>
+	 */
+	public void setParentGroupId( Long parentGroupId ) {
+		this.parentGroupId = parentGroupId;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>parentGroupId</b>
+	 * @return Long - value of member attribute <b>parentGroupId</b>.
+	 */
+	public Long getParentGroupId( ) {
+		return this.parentGroupId;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>groupId</b>.
+	 * You cannot set null to the attribute.
+	 * @param groupId Value to set member attribute <b>groupId</b>
+	 */
+	public void setGroupId( Long groupId ) {
+		this.groupId = groupId;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>groupId</b>
+	 * @return Long - value of member attribute <b>groupId</b>.
+	 */
+	public Long getGroupId( ) {
+		return this.groupId;
+	}
+
+	@Override
+	public int getMyClassType( ) {
+	    return AppConstants.CLASS_TYPE_XA_GROUP_GROUP;
+	}
+
+	/**
+	 * This return the bean content in string format
+	 * @return formatedStr
+	*/
+	public String toString( ) {
+		String str = "VXGroupGroup={";
+		str += super.toString();
+		str += "name={" + name + "} ";
+		str += "parentGroupId={" + parentGroupId + "} ";
+		str += "groupId={" + groupId + "} ";
+		str += "}";
+		return str;
+	}
+}

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7defc061/security-admin/src/main/java/com/xasecure/view/VXGroupGroupList.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/view/VXGroupGroupList.java b/security-admin/src/main/java/com/xasecure/view/VXGroupGroupList.java
new file mode 100644
index 0000000..8899a43
--- /dev/null
+++ b/security-admin/src/main/java/com/xasecure/view/VXGroupGroupList.java
@@ -0,0 +1,72 @@
+package com.xasecure.view;
+/*
+ * Copyright (c) 2014 XASecure
+ * All rights reserved.
+ *
+ * This software is the confidential and proprietary information of
+ * XASecure ("Confidential Information").  You shall not
+ * disclose such Confidential Information and shall use it only in
+ * accordance with the terms of the license agreement you entered into
+ * with XASecure
+ */
+
+/**
+ * List wrapper class for VXGroupGroup
+ *
+ */
+
+import java.util.*;
+import javax.xml.bind.annotation.*;
+
+import org.codehaus.jackson.annotate.JsonAutoDetect;
+import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
+import org.codehaus.jackson.map.annotate.JsonSerialize;
+
+import com.xasecure.common.view.*;
+
+@JsonAutoDetect(getterVisibility=Visibility.NONE, setterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY)
+@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL )
+@XmlRootElement
+@XmlAccessorType(XmlAccessType.FIELD)
+public class VXGroupGroupList extends VList {
+	private static final long serialVersionUID = 1L;
+    List<VXGroupGroup> vXGroupGroups = new ArrayList<VXGroupGroup>();
+
+    public VXGroupGroupList() {
+	super();
+    }
+
+    public VXGroupGroupList(List<VXGroupGroup> objList) {
+	super(objList);
+	this.vXGroupGroups = objList;
+    }
+
+    /**
+     * @return the vXGroupGroups
+     */
+    public List<VXGroupGroup> getVXGroupGroups() {
+	return vXGroupGroups;
+    }
+
+    /**
+     * @param vXGroupGroups
+     *            the vXGroupGroups to set
+     */
+    public void setVXGroupGroups(List<VXGroupGroup> vXGroupGroups) {
+	this.vXGroupGroups = vXGroupGroups;
+    }
+
+    @Override
+    public int getListSize() {
+	if (vXGroupGroups != null) {
+	    return vXGroupGroups.size();
+	}
+	return 0;
+    }
+
+    @Override
+    public List<VXGroupGroup> getList() {
+	return vXGroupGroups;
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7defc061/security-admin/src/main/java/com/xasecure/view/VXGroupList.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/view/VXGroupList.java b/security-admin/src/main/java/com/xasecure/view/VXGroupList.java
new file mode 100644
index 0000000..661fce0
--- /dev/null
+++ b/security-admin/src/main/java/com/xasecure/view/VXGroupList.java
@@ -0,0 +1,72 @@
+package com.xasecure.view;
+/*
+ * Copyright (c) 2014 XASecure
+ * All rights reserved.
+ *
+ * This software is the confidential and proprietary information of
+ * XASecure ("Confidential Information").  You shall not
+ * disclose such Confidential Information and shall use it only in
+ * accordance with the terms of the license agreement you entered into
+ * with XASecure
+ */
+
+/**
+ * List wrapper class for VXGroup
+ * 
+ */
+
+import java.util.*;
+import javax.xml.bind.annotation.*;
+
+import org.codehaus.jackson.annotate.JsonAutoDetect;
+import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
+import org.codehaus.jackson.map.annotate.JsonSerialize;
+
+import com.xasecure.common.view.*;
+
+@JsonAutoDetect(getterVisibility=Visibility.NONE, setterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY)
+@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL )
+@XmlRootElement
+@XmlAccessorType(XmlAccessType.FIELD)
+public class VXGroupList extends VList {
+	private static final long serialVersionUID = 1L;
+    List<VXGroup> vXGroups = new ArrayList<VXGroup>();
+
+    public VXGroupList() {
+	super();
+    }
+
+    public VXGroupList(List<VXGroup> objList) {
+	super(objList);
+	this.vXGroups = objList;
+    }
+
+    /**
+     * @return the vXGroups
+     */
+    public List<VXGroup> getVXGroups() {
+	return vXGroups;
+    }
+
+    /**
+     * @param vXGroups
+     *            the vXGroups to set
+     */
+    public void setVXGroups(List<VXGroup> vXGroups) {
+	this.vXGroups = vXGroups;
+    }
+
+    @Override
+    public int getListSize() {
+	if (vXGroups != null) {
+	    return vXGroups.size();
+	}
+	return 0;
+    }
+
+    @Override
+    public List<VXGroup> getList() {
+	return vXGroups;
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7defc061/security-admin/src/main/java/com/xasecure/view/VXGroupUser.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/view/VXGroupUser.java b/security-admin/src/main/java/com/xasecure/view/VXGroupUser.java
new file mode 100644
index 0000000..64ca491
--- /dev/null
+++ b/security-admin/src/main/java/com/xasecure/view/VXGroupUser.java
@@ -0,0 +1,131 @@
+package com.xasecure.view;
+/*
+ * Copyright (c) 2014 XASecure
+ * All rights reserved.
+ *
+ * This software is the confidential and proprietary information of
+ * XASecure ("Confidential Information").  You shall not
+ * disclose such Confidential Information and shall use it only in
+ * accordance with the terms of the license agreement you entered into
+ * with XASecure
+ */
+
+/**
+ * Group of users
+ *
+ */
+
+import java.util.*;
+
+import com.xasecure.common.*;
+import com.xasecure.common.view.*;
+
+import com.xasecure.common.*;
+import com.xasecure.json.JsonDateSerializer;
+
+import com.xasecure.view.*;
+
+import javax.xml.bind.annotation.*;
+
+import org.codehaus.jackson.annotate.JsonAutoDetect;
+import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
+import org.codehaus.jackson.annotate.JsonIgnoreProperties;
+import org.codehaus.jackson.map.annotate.JsonSerialize;
+
+@JsonAutoDetect(getterVisibility=Visibility.NONE, setterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY)
+@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL )
+@JsonIgnoreProperties(ignoreUnknown=true)
+@XmlRootElement
+public class VXGroupUser extends VXDataObject implements java.io.Serializable {
+	private static final long serialVersionUID = 1L;
+
+
+	/**
+	 * Name
+	 */
+	protected String name;
+	/**
+	 * Id of the group
+	 */
+	protected Long parentGroupId;
+	/**
+	 * Id of the user
+	 */
+	protected Long userId;
+
+	/**
+	 * Default constructor. This will set all the attributes to default value.
+	 */
+	public VXGroupUser ( ) {
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>name</b>.
+	 * You cannot set null to the attribute.
+	 * @param name Value to set member attribute <b>name</b>
+	 */
+	public void setName( String name ) {
+		this.name = name;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>name</b>
+	 * @return String - value of member attribute <b>name</b>.
+	 */
+	public String getName( ) {
+		return this.name;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>parentGroupId</b>.
+	 * You cannot set null to the attribute.
+	 * @param parentGroupId Value to set member attribute <b>parentGroupId</b>
+	 */
+	public void setParentGroupId( Long parentGroupId ) {
+		this.parentGroupId = parentGroupId;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>parentGroupId</b>
+	 * @return Long - value of member attribute <b>parentGroupId</b>.
+	 */
+	public Long getParentGroupId( ) {
+		return this.parentGroupId;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>userId</b>.
+	 * You cannot set null to the attribute.
+	 * @param userId Value to set member attribute <b>userId</b>
+	 */
+	public void setUserId( Long userId ) {
+		this.userId = userId;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>userId</b>
+	 * @return Long - value of member attribute <b>userId</b>.
+	 */
+	public Long getUserId( ) {
+		return this.userId;
+	}
+
+	@Override
+	public int getMyClassType( ) {
+	    return AppConstants.CLASS_TYPE_XA_GROUP_USER;
+	}
+
+	/**
+	 * This return the bean content in string format
+	 * @return formatedStr
+	*/
+	public String toString( ) {
+		String str = "VXGroupUser={";
+		str += super.toString();
+		str += "name={" + name + "} ";
+		str += "parentGroupId={" + parentGroupId + "} ";
+		str += "userId={" + userId + "} ";
+		str += "}";
+		return str;
+	}
+}

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7defc061/security-admin/src/main/java/com/xasecure/view/VXGroupUserList.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/view/VXGroupUserList.java b/security-admin/src/main/java/com/xasecure/view/VXGroupUserList.java
new file mode 100644
index 0000000..eba7867
--- /dev/null
+++ b/security-admin/src/main/java/com/xasecure/view/VXGroupUserList.java
@@ -0,0 +1,72 @@
+package com.xasecure.view;
+/*
+ * Copyright (c) 2014 XASecure
+ * All rights reserved.
+ *
+ * This software is the confidential and proprietary information of
+ * XASecure ("Confidential Information").  You shall not
+ * disclose such Confidential Information and shall use it only in
+ * accordance with the terms of the license agreement you entered into
+ * with XASecure
+ */
+
+/**
+ * List wrapper class for VXGroupUser
+ *
+ */
+
+import java.util.*;
+import javax.xml.bind.annotation.*;
+
+import org.codehaus.jackson.annotate.JsonAutoDetect;
+import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
+import org.codehaus.jackson.map.annotate.JsonSerialize;
+
+import com.xasecure.common.view.*;
+
+@JsonAutoDetect(getterVisibility=Visibility.NONE, setterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY)
+@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL )
+@XmlRootElement
+@XmlAccessorType(XmlAccessType.FIELD)
+public class VXGroupUserList extends VList {
+	private static final long serialVersionUID = 1L;
+    List<VXGroupUser> vXGroupUsers = new ArrayList<VXGroupUser>();
+
+    public VXGroupUserList() {
+	super();
+    }
+
+    public VXGroupUserList(List<VXGroupUser> objList) {
+	super(objList);
+	this.vXGroupUsers = objList;
+    }
+
+    /**
+     * @return the vXGroupUsers
+     */
+    public List<VXGroupUser> getVXGroupUsers() {
+	return vXGroupUsers;
+    }
+
+    /**
+     * @param vXGroupUsers
+     *            the vXGroupUsers to set
+     */
+    public void setVXGroupUsers(List<VXGroupUser> vXGroupUsers) {
+	this.vXGroupUsers = vXGroupUsers;
+    }
+
+    @Override
+    public int getListSize() {
+	if (vXGroupUsers != null) {
+	    return vXGroupUsers.size();
+	}
+	return 0;
+    }
+
+    @Override
+    public List<VXGroupUser> getList() {
+	return vXGroupUsers;
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7defc061/security-admin/src/main/java/com/xasecure/view/VXLong.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/view/VXLong.java b/security-admin/src/main/java/com/xasecure/view/VXLong.java
new file mode 100644
index 0000000..bfd5727
--- /dev/null
+++ b/security-admin/src/main/java/com/xasecure/view/VXLong.java
@@ -0,0 +1,87 @@
+package com.xasecure.view;
+/*
+ * Copyright (c) 2014 XASecure
+ * All rights reserved.
+ *
+ * This software is the confidential and proprietary information of
+ * XASecure ("Confidential Information").  You shall not
+ * disclose such Confidential Information and shall use it only in
+ * accordance with the terms of the license agreement you entered into
+ * with XASecure
+ */
+
+/**
+ * Long
+ * 
+ */
+
+import java.util.*;
+
+import com.xasecure.common.*;
+import com.xasecure.common.view.*;
+
+import com.xasecure.common.*;
+import com.xasecure.json.JsonDateSerializer;
+
+import com.xasecure.view.*;
+
+import javax.xml.bind.annotation.*;
+
+import org.codehaus.jackson.annotate.JsonAutoDetect;
+import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
+import org.codehaus.jackson.annotate.JsonIgnoreProperties;
+import org.codehaus.jackson.map.annotate.JsonSerialize;
+
+@JsonAutoDetect(getterVisibility=Visibility.NONE, setterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY)
+@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL )
+@JsonIgnoreProperties(ignoreUnknown=true)
+@XmlRootElement
+public class VXLong extends ViewBaseBean implements java.io.Serializable {
+	private static final long serialVersionUID = 1L;
+
+
+	/**
+	 * Value
+	 */
+	protected long value;
+
+	/**
+	 * Default constructor. This will set all the attributes to default value.
+	 */
+	public VXLong ( ) {
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>value</b>.
+	 * You cannot set null to the attribute.
+	 * @param value Value to set member attribute <b>value</b>
+	 */
+	public void setValue( long value ) {
+		this.value = value;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>value</b>
+	 * @return long - value of member attribute <b>value</b>.
+	 */
+	public long getValue( ) {
+		return this.value;
+	}
+
+	@Override
+	public int getMyClassType( ) {
+	    return AppConstants.CLASS_TYPE_LONG;
+	}
+
+	/**
+	 * This return the bean content in string format
+	 * @return formatedStr
+	*/
+	public String toString( ) {
+		String str = "VXLong={";
+		str += super.toString();
+		str += "value={" + value + "} ";
+		str += "}";
+		return str;
+	}
+}

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7defc061/security-admin/src/main/java/com/xasecure/view/VXMessage.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/view/VXMessage.java b/security-admin/src/main/java/com/xasecure/view/VXMessage.java
new file mode 100644
index 0000000..b09d444
--- /dev/null
+++ b/security-admin/src/main/java/com/xasecure/view/VXMessage.java
@@ -0,0 +1,175 @@
+package com.xasecure.view;
+/*
+ * Copyright (c) 2014 XASecure
+ * All rights reserved.
+ *
+ * This software is the confidential and proprietary information of
+ * XASecure ("Confidential Information").  You shall not
+ * disclose such Confidential Information and shall use it only in
+ * accordance with the terms of the license agreement you entered into
+ * with XASecure
+ */
+
+/**
+ * Message class
+ * 
+ */
+
+import java.util.*;
+
+import com.xasecure.common.*;
+import com.xasecure.common.view.*;
+
+import com.xasecure.common.*;
+import com.xasecure.json.JsonDateSerializer;
+
+import com.xasecure.view.*;
+
+import javax.xml.bind.annotation.*;
+
+import org.codehaus.jackson.annotate.JsonAutoDetect;
+import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
+import org.codehaus.jackson.annotate.JsonIgnoreProperties;
+import org.codehaus.jackson.map.annotate.JsonSerialize;
+
+@JsonAutoDetect(getterVisibility=Visibility.NONE, setterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY)
+@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL )
+@JsonIgnoreProperties(ignoreUnknown=true)
+@XmlRootElement
+public class VXMessage extends ViewBaseBean implements java.io.Serializable {
+	private static final long serialVersionUID = 1L;
+
+
+	/**
+	 * Message key
+	 */
+	protected String name;
+	/**
+	 * Resource bundle key
+	 */
+	protected String rbKey;
+	/**
+	 * Message description. Use rbKey for doing localized lookup
+	 */
+	protected String message;
+	/**
+	 * Id of the object to which this message is related to
+	 */
+	protected Long objectId;
+	/**
+	 * Name of the field or attribute to which this message is related to
+	 */
+	protected String fieldName;
+
+	/**
+	 * Default constructor. This will set all the attributes to default value.
+	 */
+	public VXMessage ( ) {
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>name</b>.
+	 * You cannot set null to the attribute.
+	 * @param name Value to set member attribute <b>name</b>
+	 */
+	public void setName( String name ) {
+		this.name = name;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>name</b>
+	 * @return String - value of member attribute <b>name</b>.
+	 */
+	public String getName( ) {
+		return this.name;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>rbKey</b>.
+	 * You cannot set null to the attribute.
+	 * @param rbKey Value to set member attribute <b>rbKey</b>
+	 */
+	public void setRbKey( String rbKey ) {
+		this.rbKey = rbKey;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>rbKey</b>
+	 * @return String - value of member attribute <b>rbKey</b>.
+	 */
+	public String getRbKey( ) {
+		return this.rbKey;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>message</b>.
+	 * You cannot set null to the attribute.
+	 * @param message Value to set member attribute <b>message</b>
+	 */
+	public void setMessage( String message ) {
+		this.message = message;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>message</b>
+	 * @return String - value of member attribute <b>message</b>.
+	 */
+	public String getMessage( ) {
+		return this.message;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>objectId</b>.
+	 * You cannot set null to the attribute.
+	 * @param objectId Value to set member attribute <b>objectId</b>
+	 */
+	public void setObjectId( Long objectId ) {
+		this.objectId = objectId;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>objectId</b>
+	 * @return Long - value of member attribute <b>objectId</b>.
+	 */
+	public Long getObjectId( ) {
+		return this.objectId;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>fieldName</b>.
+	 * You cannot set null to the attribute.
+	 * @param fieldName Value to set member attribute <b>fieldName</b>
+	 */
+	public void setFieldName( String fieldName ) {
+		this.fieldName = fieldName;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>fieldName</b>
+	 * @return String - value of member attribute <b>fieldName</b>.
+	 */
+	public String getFieldName( ) {
+		return this.fieldName;
+	}
+
+	@Override
+	public int getMyClassType( ) {
+	    return AppConstants.CLASS_TYPE_MESSAGE;
+	}
+
+	/**
+	 * This return the bean content in string format
+	 * @return formatedStr
+	*/
+	public String toString( ) {
+		String str = "VXMessage={";
+		str += super.toString();
+		str += "name={" + name + "} ";
+		str += "rbKey={" + rbKey + "} ";
+		str += "message={" + message + "} ";
+		str += "objectId={" + objectId + "} ";
+		str += "fieldName={" + fieldName + "} ";
+		str += "}";
+		return str;
+	}
+}

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/7defc061/security-admin/src/main/java/com/xasecure/view/VXPasswordChange.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/view/VXPasswordChange.java b/security-admin/src/main/java/com/xasecure/view/VXPasswordChange.java
new file mode 100644
index 0000000..e0b75ff
--- /dev/null
+++ b/security-admin/src/main/java/com/xasecure/view/VXPasswordChange.java
@@ -0,0 +1,197 @@
+package com.xasecure.view;
+/*
+ * Copyright (c) 2014 XASecure
+ * All rights reserved.
+ *
+ * This software is the confidential and proprietary information of
+ * XASecure ("Confidential Information").  You shall not
+ * disclose such Confidential Information and shall use it only in
+ * accordance with the terms of the license agreement you entered into
+ * with XASecure
+ */
+
+/**
+ * Change password structure
+ * 
+ */
+
+import java.util.*;
+
+import com.xasecure.common.*;
+import com.xasecure.common.view.*;
+
+import com.xasecure.common.*;
+import com.xasecure.json.JsonDateSerializer;
+
+import com.xasecure.view.*;
+
+import javax.xml.bind.annotation.*;
+
+import org.codehaus.jackson.annotate.JsonAutoDetect;
+import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
+import org.codehaus.jackson.annotate.JsonIgnoreProperties;
+import org.codehaus.jackson.map.annotate.JsonSerialize;
+
+@JsonAutoDetect(getterVisibility=Visibility.NONE, setterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY)
+@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL )
+@JsonIgnoreProperties(ignoreUnknown=true)
+@XmlRootElement
+public class VXPasswordChange extends ViewBaseBean implements java.io.Serializable {
+	private static final long serialVersionUID = 1L;
+
+
+	/**
+	 * Id of the user
+	 */
+	protected Long id;
+	/**
+	 * Login ID of the user
+	 */
+	protected String loginId;
+	/**
+	 * Email address of the user
+	 */
+	protected String emailAddress;
+	/**
+	 * Reset Code
+	 */
+	protected String resetCode;
+	/**
+	 * Old Password
+	 */
+	protected String oldPassword;
+	/**
+	 * Updated Password
+	 */
+	protected String updPassword;
+
+	/**
+	 * Default constructor. This will set all the attributes to default value.
+	 */
+	public VXPasswordChange ( ) {
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>id</b>.
+	 * You cannot set null to the attribute.
+	 * @param id Value to set member attribute <b>id</b>
+	 */
+	public void setId( Long id ) {
+		this.id = id;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>id</b>
+	 * @return Long - value of member attribute <b>id</b>.
+	 */
+	public Long getId( ) {
+		return this.id;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>loginId</b>.
+	 * You cannot set null to the attribute.
+	 * @param loginId Value to set member attribute <b>loginId</b>
+	 */
+	public void setLoginId( String loginId ) {
+		this.loginId = loginId;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>loginId</b>
+	 * @return String - value of member attribute <b>loginId</b>.
+	 */
+	public String getLoginId( ) {
+		return this.loginId;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>emailAddress</b>.
+	 * You cannot set null to the attribute.
+	 * @param emailAddress Value to set member attribute <b>emailAddress</b>
+	 */
+	public void setEmailAddress( String emailAddress ) {
+		this.emailAddress = emailAddress;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>emailAddress</b>
+	 * @return String - value of member attribute <b>emailAddress</b>.
+	 */
+	public String getEmailAddress( ) {
+		return this.emailAddress;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>resetCode</b>.
+	 * You cannot set null to the attribute.
+	 * @param resetCode Value to set member attribute <b>resetCode</b>
+	 */
+	public void setResetCode( String resetCode ) {
+		this.resetCode = resetCode;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>resetCode</b>
+	 * @return String - value of member attribute <b>resetCode</b>.
+	 */
+	public String getResetCode( ) {
+		return this.resetCode;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>oldPassword</b>.
+	 * You cannot set null to the attribute.
+	 * @param oldPassword Value to set member attribute <b>oldPassword</b>
+	 */
+	public void setOldPassword( String oldPassword ) {
+		this.oldPassword = oldPassword;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>oldPassword</b>
+	 * @return String - value of member attribute <b>oldPassword</b>.
+	 */
+	public String getOldPassword( ) {
+		return this.oldPassword;
+	}
+
+	/**
+	 * This method sets the value to the member attribute <b>updPassword</b>.
+	 * You cannot set null to the attribute.
+	 * @param updPassword Value to set member attribute <b>updPassword</b>
+	 */
+	public void setUpdPassword( String updPassword ) {
+		this.updPassword = updPassword;
+	}
+
+	/**
+	 * Returns the value for the member attribute <b>updPassword</b>
+	 * @return String - value of member attribute <b>updPassword</b>.
+	 */
+	public String getUpdPassword( ) {
+		return this.updPassword;
+	}
+
+	@Override
+	public int getMyClassType( ) {
+	    return AppConstants.CLASS_TYPE_PASSWORD_CHANGE;
+	}
+
+	/**
+	 * This return the bean content in string format
+	 * @return formatedStr
+	*/
+	public String toString( ) {
+		String str = "VXPasswordChange={";
+		str += super.toString();
+		str += "id={" + id + "} ";
+		str += "loginId={" + loginId + "} ";
+		str += "emailAddress={" + emailAddress + "} ";
+		str += "resetCode={" + resetCode + "} ";
+		str += "oldPassword={***length=" + (oldPassword == null? 0 : oldPassword.length()) + "***} ";
+		str += "updPassword={***length=" + (updPassword == null? 0 : updPassword.length()) + "***} ";
+		str += "}";
+		return str;
+	}
+}


Mime
View raw message