diff --git a/idmconsole/src/main/java/org/jboss/seam/security/examples/idmconsole/model/IdentityObject.java b/idmconsole/src/main/java/org/jboss/seam/security/examples/idmconsole/model/IdentityObject.java index ae2a98b..cab3698 100644 --- a/idmconsole/src/main/java/org/jboss/seam/security/examples/idmconsole/model/IdentityObject.java +++ b/idmconsole/src/main/java/org/jboss/seam/security/examples/idmconsole/model/IdentityObject.java @@ -25,6 +25,8 @@ public class IdentityObject implements Serializable { private Long id; @IdentityProperty(PropertyType.NAME) private String name; + @IdentityProperty(attributeName = FIRST_NAME, value = PropertyType.ATTRIBUTE) + @IdentityProperty(attributeName = LAST_NAME, value = PropertyType.ATTRIBUTE) private IdentityObjectType type; @Id @@ -56,5 +58,21 @@ public IdentityObjectType getType() { public void setType(IdentityObjectType type) { this.type = type; } + + public String getFirstName() { + return firstName; + } + + public void setFirstName(String firstName) { + this.firstName = firstName; + } + + public String getLastName() { + return lastName; + } + + public void setLastName(String lastName) { + this.lastName = lastName; + } }