@Override public String toString() { return getName(); }
/** * Unmaps a group defined in a component from a role defined in the application. * * @param group * The source group. * @param role * The target role. */ public void unmap(final Group group, final Role role) { this.unmap(role, SesameRealmConstants.OAS_ROLEMAPPEDGROUP, group.getName()); }
throws RepositoryException if(conn.hasStatement(null, SesameRealmConstants.OAS_GROUPNAME, this.vf.createLiteral(nextGroup.getName()), true, this.getContexts())) this.vf.createURI("urn:oas:group:", nextGroup.getName() + ":" + UUID.randomUUID().toString()); this.vf.createLiteral(nextGroup.getName())), this.getContexts()); conn.add( this.vf.createStatement(nextGroupUUID, SesameRealmConstants.OAS_GROUPDESCRIPTION,
this.vf.createLiteral(((Group)nextMapping.getSource()).getName())), this.getContexts());
if(nextRootGroup.getName().equals(nextGroupName))