I am getting a map in the form as below :
{owner=sailpoint.object.Identity@2aea717c[id=8ad616906a065639016a0657e2df000d,name=Jsmith]}
How can I get only "Jsmith" as my value to key "owner"?
I am getting a map in the form as below :
{owner=sailpoint.object.Identity@2aea717c[id=8ad616906a065639016a0657e2df000d,name=Jsmith]}
How can I get only "Jsmith" as my value to key "owner"?
Value against owner key is an object. In your object toString()
method you can return the name
.
@Override
public String toString() {
return name;
}