edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiWsTrustedJwtConfiguration 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
package edu.internet2.middleware.grouper.grouperUi.beans.ui;
import java.util.ArrayList;
import java.util.List;
import edu.internet2.middleware.grouper.authentication.WsTrustedJwtConfiguration;
public class GuiWsTrustedJwtConfiguration {
private WsTrustedJwtConfiguration wsTrustedJwtConfiguration;
private GuiWsTrustedJwtConfiguration(WsTrustedJwtConfiguration wsTrustedJwtConfiguration) {
this.wsTrustedJwtConfiguration = wsTrustedJwtConfiguration;
}
public WsTrustedJwtConfiguration getWsTrustedJwtConfiguration() {
return wsTrustedJwtConfiguration;
}
public static GuiWsTrustedJwtConfiguration convertFromWsTrustedJwtConfiguration(WsTrustedJwtConfiguration wsTrustedJwtConfiguration) {
return new GuiWsTrustedJwtConfiguration(wsTrustedJwtConfiguration);
}
public static List convertFromWsTrustedJwtConfiguration(List wsTrustedJwtConfigurations) {
List guiWsTrustedJwtConfigs = new ArrayList();
for (WsTrustedJwtConfiguration wsTrustedJwtConfig: wsTrustedJwtConfigurations) {
guiWsTrustedJwtConfigs.add(convertFromWsTrustedJwtConfiguration(wsTrustedJwtConfig));
}
return guiWsTrustedJwtConfigs;
}
}