All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiWsTrustedJwtConfiguration Maven / Gradle / Ivy

There is a newer version: 5.13.5
Show newest version
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;
    
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy