Commit efad9498 authored by michael.simon's avatar michael.simon
Browse files

Update Scopes and packages which changed on jee6 -> jee8

parent 2b894a19
......@@ -12,8 +12,8 @@ package edu.kit.scc.webreg.bean.admin.brule;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -21,7 +21,7 @@ import edu.kit.scc.webreg.entity.BusinessRulePackageEntity;
import edu.kit.scc.webreg.service.BusinessRulePackageService;
import edu.kit.scc.webreg.util.ViewIds;
@ManagedBean
@Named
@ViewScoped
public class EditRulePackageBean implements Serializable {
......
......@@ -12,8 +12,8 @@ package edu.kit.scc.webreg.bean.admin.brule;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -21,7 +21,7 @@ import edu.kit.scc.webreg.entity.ScriptEntity;
import edu.kit.scc.webreg.service.ScriptService;
import edu.kit.scc.webreg.util.ViewIds;
@ManagedBean
@Named
@ViewScoped
public class EditScriptBean implements Serializable {
......
......@@ -12,8 +12,8 @@ package edu.kit.scc.webreg.bean.admin.brule;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -24,7 +24,7 @@ import edu.kit.scc.webreg.model.GenericLazyDataModelImpl;
import edu.kit.scc.webreg.service.BusinessRulePackageService;
import edu.kit.scc.webreg.service.BusinessRuleService;
@ManagedBean
@Named
@ViewScoped
public class ListBusinessRuleBean implements Serializable {
......
......@@ -12,8 +12,8 @@ package edu.kit.scc.webreg.bean.admin.brule;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -23,7 +23,7 @@ import edu.kit.scc.webreg.entity.ScriptEntity;
import edu.kit.scc.webreg.model.GenericLazyDataModelImpl;
import edu.kit.scc.webreg.service.ScriptService;
@ManagedBean
@Named
@ViewScoped
public class ListScriptBean implements Serializable {
......
......@@ -17,8 +17,8 @@ import java.io.StringReader;
import java.util.ArrayList;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -35,7 +35,7 @@ import edu.kit.scc.webreg.service.ServiceService;
import edu.kit.scc.webreg.service.UserService;
import edu.kit.scc.webreg.service.reg.RegisterUserService;
@ManagedBean
@Named
@ViewScoped
public class BulkRegisterBean implements Serializable {
......
......@@ -13,8 +13,8 @@ package edu.kit.scc.webreg.bean.admin.bulk;
import java.io.Serializable;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.inject.Inject;
import org.slf4j.Logger;
......@@ -26,7 +26,7 @@ import edu.kit.scc.webreg.ssh.OpenSshKeyDecoder;
import edu.kit.scc.webreg.ssh.OpenSshPublicKey;
import edu.kit.scc.webreg.ssh.UnsupportedKeyTypeException;
@ManagedBean
@Named
@ViewScoped
public class BulkSshKeyBlacklistImportBean implements Serializable {
......
......@@ -20,8 +20,8 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.inject.Inject;
import org.opensaml.saml.saml2.core.Assertion;
......@@ -41,7 +41,7 @@ import edu.kit.scc.webreg.service.saml.AttributeQueryHelper;
import edu.kit.scc.webreg.service.saml.Saml2AssertionService;
import edu.kit.scc.webreg.service.saml.SamlHelper;
@ManagedBean
@Named
@ViewScoped
public class BulkUserImportBean implements Serializable {
......
......@@ -13,8 +13,8 @@ package edu.kit.scc.webreg.bean.admin.config;
import java.io.Serializable;
import java.util.Set;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -24,7 +24,7 @@ import edu.kit.scc.webreg.service.UserServiceHook;
import edu.kit.scc.webreg.service.impl.HookManager;
import edu.kit.scc.webreg.util.ViewIds;
@ManagedBean
@Named
@ViewScoped
public class EditHooksConfigBean implements Serializable {
......
......@@ -17,14 +17,14 @@ import java.util.Date;
import java.util.List;
import java.util.Map;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
import edu.kit.scc.webreg.bootstrap.ApplicationConfig;
@ManagedBean
@Named
@ViewScoped
public class IndexConfigBean implements Serializable {
......
......@@ -12,8 +12,8 @@ package edu.kit.scc.webreg.bean.admin.config;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -23,7 +23,7 @@ import edu.kit.scc.webreg.entity.TextPropertyEntity;
import edu.kit.scc.webreg.model.GenericLazyDataModelImpl;
import edu.kit.scc.webreg.service.TextPropertyService;
@ManagedBean
@Named
@ViewScoped
public class TextPropertyBean implements Serializable {
......
......@@ -14,8 +14,8 @@ import java.io.Serializable;
import java.util.HashSet;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -37,7 +37,7 @@ import edu.kit.scc.webreg.service.GroupService;
import edu.kit.scc.webreg.service.ServiceGroupFlagService;
import edu.kit.scc.webreg.service.ServiceService;
@ManagedBean
@Named
@ViewScoped
public class ListGroupBean implements Serializable {
......
......@@ -12,8 +12,8 @@ package edu.kit.scc.webreg.bean.admin.group;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -23,7 +23,7 @@ import edu.kit.scc.webreg.entity.HomeOrgGroupEntity;
import edu.kit.scc.webreg.model.GenericLazyDataModelImpl;
import edu.kit.scc.webreg.service.HomeOrgGroupService;
@ManagedBean
@Named
@ViewScoped
public class ListHomeOrgGroupBean implements Serializable {
......
......@@ -12,8 +12,8 @@ package edu.kit.scc.webreg.bean.admin.group;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -23,7 +23,7 @@ import edu.kit.scc.webreg.entity.LocalGroupEntity;
import edu.kit.scc.webreg.model.GenericLazyDataModelImpl;
import edu.kit.scc.webreg.service.LocalGroupService;
@ManagedBean
@Named
@ViewScoped
public class ListLocalGroupBean implements Serializable {
......
......@@ -14,8 +14,8 @@ import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -27,7 +27,7 @@ import edu.kit.scc.webreg.service.AttributeSourceGroupService;
import edu.kit.scc.webreg.service.GroupService;
import edu.kit.scc.webreg.service.ServiceGroupFlagService;
@ManagedBean
@Named
@ViewScoped
public class ShowAttributeSourceGroupBean implements Serializable {
......
......@@ -14,8 +14,8 @@ import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -27,7 +27,7 @@ import edu.kit.scc.webreg.service.GroupService;
import edu.kit.scc.webreg.service.HomeOrgGroupService;
import edu.kit.scc.webreg.service.ServiceGroupFlagService;
@ManagedBean
@Named
@ViewScoped
public class ShowHomeOrgGroupBean implements Serializable {
......
......@@ -15,8 +15,8 @@ import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -42,7 +42,7 @@ import edu.kit.scc.webreg.service.ServiceGroupFlagService;
import edu.kit.scc.webreg.service.ServiceService;
import edu.kit.scc.webreg.service.UserService;
@ManagedBean
@Named
@ViewScoped
public class ShowLocalGroupBean implements Serializable {
......
......@@ -13,8 +13,8 @@ package edu.kit.scc.webreg.bean.admin.oidc;
import java.io.Serializable;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -23,7 +23,7 @@ import edu.kit.scc.webreg.entity.oidc.OidcOpConfigurationEntity;
import edu.kit.scc.webreg.service.oidc.OidcClientConfigurationService;
import edu.kit.scc.webreg.service.oidc.OidcOpConfigurationService;
@ManagedBean
@Named
@ViewScoped
public class EditOidcClientConfigurationBean implements Serializable {
......
......@@ -12,15 +12,15 @@ package edu.kit.scc.webreg.bean.admin.oidc;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
import edu.kit.scc.webreg.entity.oidc.OidcOpConfigurationEntity;
import edu.kit.scc.webreg.service.oidc.OidcOpConfigurationService;
@ManagedBean
@Named
@ViewScoped
public class EditOidcOpConfigurationBean implements Serializable {
......
......@@ -12,15 +12,15 @@ package edu.kit.scc.webreg.bean.admin.oidc;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
import edu.kit.scc.webreg.entity.oidc.OidcRpConfigurationEntity;
import edu.kit.scc.webreg.service.oidc.OidcRpConfigurationService;
@ManagedBean
@Named
@ViewScoped
public class EditOidcRpConfigurationBean implements Serializable {
......
......@@ -13,8 +13,8 @@ package edu.kit.scc.webreg.bean.admin.oidc;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.inject.Named;
import javax.faces.view.ViewScoped;
import javax.inject.Inject;
import org.primefaces.model.LazyDataModel;
......@@ -23,7 +23,7 @@ import edu.kit.scc.webreg.entity.oidc.OidcClientConfigurationEntity;
import edu.kit.scc.webreg.model.GenericLazyDataModelImpl;
import edu.kit.scc.webreg.service.oidc.OidcClientConfigurationService;
@ManagedBean
@Named
@ViewScoped
public class ListOidcClientConfigurationBean implements Serializable {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment