private RegisteredService constructDefaultRegisteredService(List <string> attributes) { RegisteredServiceImpl r = new RegisteredServiceImpl(); r.setAllowedToProxy(true); r.setAnonymousAccess(false); r.setEnabled(true); r.setSsoEnabled(true); r.setAllowedAttributes(attributes); if (attributes == null || attributes.Count == 0) { r.setIgnoreAttributes(true); } return(r); }
private RegisteredService constructDefaultRegisteredService(List<string> attributes) { RegisteredServiceImpl r = new RegisteredServiceImpl(); r.setAllowedToProxy(true); r.setAnonymousAccess(false); r.setEnabled(true); r.setSsoEnabled(true); r.setAllowedAttributes(attributes); if (attributes == null || attributes.Count == 0) { r.setIgnoreAttributes(true); } return r; }