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

Update Scopes and packages which changed on jee6 -> jee8

parent 2b894a19
......@@ -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;
......@@ -27,7 +27,7 @@ import edu.kit.scc.webreg.service.ServiceService;
import edu.kit.scc.webreg.service.oidc.OidcClientConfigurationService;
import edu.kit.scc.webreg.service.oidc.ServiceOidcClientService;
@ManagedBean
@Named
@ViewScoped
public class ShowOidcClientConfigurationBean implements Serializable {
......
......@@ -12,8 +12,8 @@ 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;
......@@ -23,7 +23,7 @@ import org.slf4j.LoggerFactory;
import edu.kit.scc.webreg.entity.oidc.OidcOpConfigurationEntity;
import edu.kit.scc.webreg.service.oidc.OidcOpConfigurationService;
@ManagedBean
@Named
@ViewScoped
public class ShowOidcOpConfigurationBean implements Serializable {
......
......@@ -12,8 +12,8 @@ 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;
......@@ -23,7 +23,7 @@ import org.slf4j.LoggerFactory;
import edu.kit.scc.webreg.entity.oidc.OidcRpConfigurationEntity;
import edu.kit.scc.webreg.service.oidc.OidcRpConfigurationService;
@ManagedBean
@Named
@ViewScoped
public class ShowOidcRpConfigurationBean implements Serializable {
......
......@@ -12,8 +12,8 @@ package edu.kit.scc.webreg.bean.admin.role;
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.RoleEntity;
import edu.kit.scc.webreg.service.RoleService;
import edu.kit.scc.webreg.util.ViewIds;
@ManagedBean
@Named
@ViewScoped
public class EditRoleBean implements Serializable {
......
......@@ -12,8 +12,8 @@ package edu.kit.scc.webreg.bean.admin.role;
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.inject.Inject;
import org.primefaces.model.LazyDataModel;
......@@ -22,7 +22,7 @@ import edu.kit.scc.webreg.entity.RoleEntity;
import edu.kit.scc.webreg.model.GenericLazyDataModelImpl;
import edu.kit.scc.webreg.service.RoleService;
@ManagedBean
@Named
@ViewScoped
public class ListRoleBean implements Serializable {
......
......@@ -13,8 +13,8 @@ package edu.kit.scc.webreg.bean.admin.role;
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;
......@@ -28,7 +28,7 @@ import edu.kit.scc.webreg.service.GroupService;
import edu.kit.scc.webreg.service.RoleService;
import edu.kit.scc.webreg.service.UserService;
@ManagedBean
@Named
@ViewScoped
public class ShowRoleBean implements Serializable {
......
......@@ -13,8 +13,8 @@ package edu.kit.scc.webreg.bean.admin.saml;
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.FederationEntity;
import edu.kit.scc.webreg.service.BusinessRulePackageService;
import edu.kit.scc.webreg.service.FederationService;
@ManagedBean
@Named
@ViewScoped
public class EditFederationBean implements Serializable {
......
......@@ -14,15 +14,15 @@ 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;
import edu.kit.scc.webreg.entity.SamlAAConfigurationEntity;
import edu.kit.scc.webreg.service.SamlAAConfigurationService;
@ManagedBean
@Named
@ViewScoped
public class EditSamlAAConfigurationBean implements Serializable {
......
......@@ -14,15 +14,15 @@ 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;
import edu.kit.scc.webreg.entity.SamlIdpConfigurationEntity;
import edu.kit.scc.webreg.service.SamlIdpConfigurationService;
@ManagedBean
@Named
@ViewScoped
public class EditSamlIdpConfigurationBean implements Serializable {
......
......@@ -14,15 +14,15 @@ 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;
import edu.kit.scc.webreg.entity.SamlSpConfigurationEntity;
import edu.kit.scc.webreg.service.SamlSpConfigurationService;
@ManagedBean
@Named
@ViewScoped
public class EditSamlSpConfigurationBean implements Serializable {
......
......@@ -13,8 +13,8 @@ package edu.kit.scc.webreg.bean.admin.saml;
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;
......@@ -27,7 +27,7 @@ import edu.kit.scc.webreg.service.SamlAAMetadataService;
import edu.kit.scc.webreg.service.SamlIdpMetadataService;
import edu.kit.scc.webreg.service.SamlSpMetadataService;
@ManagedBean
@Named
@ViewScoped
public class ShowFederationBean implements Serializable {
......
......@@ -18,8 +18,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.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -36,7 +36,7 @@ import edu.kit.scc.webreg.entity.SamlIdpMetadataEntity;
import edu.kit.scc.webreg.service.SamlIdpMetadataService;
import edu.kit.scc.webreg.service.saml.SamlHelper;
@ManagedBean
@Named
@ViewScoped
public class ShowIdpBean implements Serializable {
......
......@@ -14,8 +14,8 @@ import java.io.IOException;
import java.io.Serializable;
import java.security.cert.X509Certificate;
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;
......@@ -26,7 +26,7 @@ import edu.kit.scc.webreg.entity.SamlAAConfigurationEntity;
import edu.kit.scc.webreg.service.SamlAAConfigurationService;
import edu.kit.scc.webreg.service.saml.CryptoHelper;
@ManagedBean
@Named
@ViewScoped
public class ShowSamlAAConfigurationBean implements Serializable {
......
......@@ -14,8 +14,8 @@ import java.io.IOException;
import java.io.Serializable;
import java.security.cert.X509Certificate;
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;
......@@ -26,7 +26,7 @@ import edu.kit.scc.webreg.entity.SamlIdpConfigurationEntity;
import edu.kit.scc.webreg.service.SamlIdpConfigurationService;
import edu.kit.scc.webreg.service.saml.CryptoHelper;
@ManagedBean
@Named
@ViewScoped
public class ShowSamlIdpConfigurationBean implements Serializable {
......
......@@ -14,8 +14,8 @@ import java.io.IOException;
import java.io.Serializable;
import java.security.cert.X509Certificate;
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;
......@@ -26,7 +26,7 @@ import edu.kit.scc.webreg.entity.SamlSpConfigurationEntity;
import edu.kit.scc.webreg.service.SamlSpConfigurationService;
import edu.kit.scc.webreg.service.saml.CryptoHelper;
@ManagedBean
@Named
@ViewScoped
public class ShowSamlSpConfigurationBean implements Serializable {
......
......@@ -19,7 +19,7 @@ import java.util.List;
import java.util.Map;
import javax.enterprise.context.RequestScoped;
import javax.faces.bean.ManagedBean;
import javax.inject.Named;
import javax.faces.event.ComponentSystemEvent;
import javax.inject.Inject;
......@@ -36,7 +36,7 @@ import edu.kit.scc.webreg.entity.SamlSpMetadataEntity;
import edu.kit.scc.webreg.service.SamlSpMetadataService;
import edu.kit.scc.webreg.service.saml.SamlHelper;
@ManagedBean
@Named
@RequestScoped
public class ShowSpBean implements Serializable {
......
......@@ -12,8 +12,8 @@ package edu.kit.scc.webreg.bean.admin.service;
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;
......@@ -22,7 +22,7 @@ import edu.kit.scc.webreg.entity.PolicyEntity;
import edu.kit.scc.webreg.service.AgreementTextService;
import edu.kit.scc.webreg.service.PolicyService;
@ManagedBean
@Named
@ViewScoped
public class AddAgreementBean implements Serializable {
......
......@@ -12,8 +12,8 @@ package edu.kit.scc.webreg.bean.admin.service;
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.EmailTemplateEntity;
import edu.kit.scc.webreg.service.EmailTemplateService;
import edu.kit.scc.webreg.util.ViewIds;
@ManagedBean
@Named
@ViewScoped
public class AddEmailTemplateBean implements Serializable {
......
......@@ -12,8 +12,8 @@ package edu.kit.scc.webreg.bean.admin.service;
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.service.PolicyService;
import edu.kit.scc.webreg.service.ServiceService;
import edu.kit.scc.webreg.util.ViewIds;
@ManagedBean
@Named
@ViewScoped
public class AddPolicyBean implements Serializable {
......
......@@ -12,8 +12,8 @@ package edu.kit.scc.webreg.bean.admin.service;
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.ServiceEntity;
import edu.kit.scc.webreg.service.ServiceService;
import edu.kit.scc.webreg.util.ViewIds;
@ManagedBean
@Named
@ViewScoped
public class AddServiceBean 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