use of org.xdi.model.DisplayNameEntry in project oxTrust by GluuFederation.
the class UpdateScopeAction method addClaim.
public void addClaim(GluuAttribute claim) {
DisplayNameEntry oneClaim = new DisplayNameEntry(claim.getDn(), claim.getInum(), claim.getDisplayName());
this.claims.add(oneClaim);
}
use of org.xdi.model.DisplayNameEntry in project oxTrust by GluuFederation.
the class UpdateSectorIdentifierAction method updateClientDisplayNameEntries.
private void updateClientDisplayNameEntries() {
List<String> clientDisplayNameEntries = new ArrayList<String>();
this.sectorIdentifier.setClientIds(clientDisplayNameEntries);
for (DisplayNameEntry displayNameEntry : this.clientDisplayNameEntries) {
clientDisplayNameEntries.add(displayNameEntry.getDn());
}
}
use of org.xdi.model.DisplayNameEntry in project oxTrust by GluuFederation.
the class UpdateClientAction method addScope.
private void addScope(OxAuthScope scope) {
DisplayNameEntry oneScope = new DisplayNameEntry(scope.getDn(), scope.getInum(), scope.getDisplayName());
this.scopes.add(oneScope);
}
use of org.xdi.model.DisplayNameEntry in project oxTrust by GluuFederation.
the class UpdateGroupAction method updateMembers.
private void updateMembers() {
List<String> members = new ArrayList<String>();
this.group.setMembers(members);
for (DisplayNameEntry member : this.members) {
members.add(member.getDn());
}
}
use of org.xdi.model.DisplayNameEntry in project oxTrust by GluuFederation.
the class UpdateGroupAction method addMember.
public void addMember(GluuCustomPerson person) {
DisplayNameEntry member = new DisplayNameEntry(person.getDn(), person.getInum(), person.getDisplayName());
this.members.add(member);
}
Aggregations