edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiGlobalAttributeResolverConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grouper-ui Show documentation
Show all versions of grouper-ui Show documentation
Internet2 Groups Management User Interface
The newest version!
package edu.internet2.middleware.grouper.grouperUi.beans.ui;
import java.util.ArrayList;
import java.util.List;
import edu.internet2.middleware.grouper.attr.resolver.GlobalAttributeResolverConfiguration;
public class GuiGlobalAttributeResolverConfiguration {
private GlobalAttributeResolverConfiguration globalAttributeResolverConfiguration;
private GuiGlobalAttributeResolverConfiguration(GlobalAttributeResolverConfiguration globalAttributeResolverConfiguration) {
this.globalAttributeResolverConfiguration = globalAttributeResolverConfiguration;
}
public static GuiGlobalAttributeResolverConfiguration convertFromGlobalAttributeResolverConfiguration(GlobalAttributeResolverConfiguration globalAttributeResolverConfiguration) {
return new GuiGlobalAttributeResolverConfiguration(globalAttributeResolverConfiguration);
}
public static List convertFromWsTrustedJwtConfiguration(List globalAttributeResolverConfigurations) {
List guiGlobalAttributeResolverConfigs = new ArrayList();
for (GlobalAttributeResolverConfiguration globalAttributeResolverConfig: globalAttributeResolverConfigurations) {
guiGlobalAttributeResolverConfigs.add(convertFromGlobalAttributeResolverConfiguration(globalAttributeResolverConfig));
}
return guiGlobalAttributeResolverConfigs;
}
public GlobalAttributeResolverConfiguration getGlobalAttributeResolverConfiguration() {
return globalAttributeResolverConfiguration;
}
}