From 51a20d87200cd219409fce5b30d32cf38f616e73 Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Tue, 28 Apr 2015 17:09:01 +0200 Subject: Added default webapp files for customization. --- edit-webapp/WEB-INF/idpui.tld | 257 +++++++++++++++++++ edit-webapp/WEB-INF/jsp/metadata.jsp | 23 ++ edit-webapp/WEB-INF/jsp/status.jsp | 99 +++++++ edit-webapp/WEB-INF/lib/README | 102 ++++++++ edit-webapp/WEB-INF/spring.tld | 482 +++++++++++++++++++++++++++++++++++ edit-webapp/WEB-INF/web.xml | 230 +++++++++++++++++ 6 files changed, 1193 insertions(+) create mode 100644 edit-webapp/WEB-INF/idpui.tld create mode 100644 edit-webapp/WEB-INF/jsp/metadata.jsp create mode 100644 edit-webapp/WEB-INF/jsp/status.jsp create mode 100644 edit-webapp/WEB-INF/lib/README create mode 100644 edit-webapp/WEB-INF/spring.tld create mode 100644 edit-webapp/WEB-INF/web.xml (limited to 'edit-webapp/WEB-INF') diff --git a/edit-webapp/WEB-INF/idpui.tld b/edit-webapp/WEB-INF/idpui.tld new file mode 100644 index 0000000..2c8abe6 --- /dev/null +++ b/edit-webapp/WEB-INF/idpui.tld @@ -0,0 +1,257 @@ + + + + 1.0 + idpui + urn:mace:shibboleth:2.0:idp:ui + + + Service Name - some user friendly description about the relying party + serviceName + net.shibboleth.idp.ui.taglib.ServiceNameTag + empty + + defaultValue + false + true + + + uiContext + false + true + net.shibboleth.idp.ui.context.RelyingPartyUIContext + + + + + Service Description - taken from the mdui statement + serviceDescription + net.shibboleth.idp.ui.taglib.ServiceDescriptionTag + scriptless + + uiContext + false + true + net.shibboleth.idp.ui.context.RelyingPartyUIContext + + + + + Service Contact - information about the contact at the SP + serviceContact + net.shibboleth.idp.ui.taglib.ServiceContactTag + scriptless + + contactType + false + true + + + name + false + true + + + cssId + false + true + + + cssClass + false + true + + + cssStyle + false + true + + + uiContext + false + true + net.shibboleth.idp.ui.context.RelyingPartyUIContext + + + + + Service Privacy URL - directly from the metadata if present + servicePrivacyURL + net.shibboleth.idp.ui.taglib.ServicePrivacyURLTag + scriptless + + linkText + true + true + + + cssId + false + true + + + cssClass + false + true + + + cssStyle + false + true + + + uiContext + false + true + net.shibboleth.idp.ui.context.RelyingPartyUIContext + + + + + Service Information URL - directly from the metadata if present + serviceInformationURL + net.shibboleth.idp.ui.taglib.ServiceInformationURLTag + scriptless + + linkText + true + true + + + cssId + false + true + + + cssClass + false + true + + + cssStyle + false + true + + + uiContext + false + true + net.shibboleth.idp.ui.context.RelyingPartyUIContext + + + + + Logo for the SP + serviceLogo + net.shibboleth.idp.ui.taglib.ServiceLogoTag + scriptless + + alt + false + true + + + minHeight + false + true + + + maxHeight + false + true + + + minWidth + false + true + + + maxWidth + false + true + + + cssId + false + true + + + cssClass + false + true + + + cssStyle + false + true + + + uiContext + false + true + net.shibboleth.idp.ui.context.RelyingPartyUIContext + + + + + Service Organization Name - directly from the metadata if present + organizationName + net.shibboleth.idp.ui.taglib.OrganizationNameTag + scriptless + + uiContext + false + true + net.shibboleth.idp.ui.context.RelyingPartyUIContext + + + + + Service Organization Display Name - directly from the metadata if present + organizationDisplayName + net.shibboleth.idp.ui.taglib.OrganizationDisplayNameTag + scriptless + + uiContext + false + true + net.shibboleth.idp.ui.context.RelyingPartyUIContext + + + + + Service Organization URL - directly from the metadata if present + organizationURL + net.shibboleth.idp.ui.taglib.OrganizationURLTag + scriptless + + linkText + true + true + + + cssId + false + true + + + cssClass + false + true + + + cssStyle + false + true + + + uiContext + false + true + net.shibboleth.idp.ui.context.RelyingPartyUIContext + + + + \ No newline at end of file diff --git a/edit-webapp/WEB-INF/jsp/metadata.jsp b/edit-webapp/WEB-INF/jsp/metadata.jsp new file mode 100644 index 0000000..09d721b --- /dev/null +++ b/edit-webapp/WEB-INF/jsp/metadata.jsp @@ -0,0 +1,23 @@ +<%@ page import="org.springframework.web.context.WebApplicationContext" %> +<%@ page import="org.springframework.web.context.support.WebApplicationContextUtils" %> +<% +final WebApplicationContext springContext = + WebApplicationContextUtils.getRequiredWebApplicationContext(request.getServletContext()); +final String path = springContext.getEnvironment().getProperty("idp.home") + "/metadata/idp-metadata.xml"; +try (final java.io.FileInputStream in = new java.io.FileInputStream(path)) { + int i; + while ((i = in.read()) != -1) { + out.write(i); + } +} catch (final java.io.IOException e) { + out.println(e.getMessage()); + return; +} + +final String acceptHeader = request.getHeader("Accept"); +if (acceptHeader != null && !acceptHeader.contains("application/samlmetadata+xml")) { + response.setContentType("application/xml"); +} else { + response.setContentType("application/samlmetadata+xml"); +} +%> \ No newline at end of file diff --git a/edit-webapp/WEB-INF/jsp/status.jsp b/edit-webapp/WEB-INF/jsp/status.jsp new file mode 100644 index 0000000..7730901 --- /dev/null +++ b/edit-webapp/WEB-INF/jsp/status.jsp @@ -0,0 +1,99 @@ +<%@ page language="java" contentType="text/plain; charset=UTF-8" pageEncoding="UTF-8"%> +<%@ page trimDirectiveWhitespaces="true" %> +<%@ page import="java.util.ArrayList" %> +<%@ page import="java.util.Collection" %> +<%@ page import="java.util.Collections" %> +<%@ page import="org.joda.time.DateTime" %> +<%@ page import="org.joda.time.format.DateTimeFormatter" %> +<%@ page import="org.joda.time.format.ISODateTimeFormat" %> +<%@ page import="org.springframework.webflow.execution.RequestContext" %> +<%@ page import="org.opensaml.saml.metadata.resolver.ChainingMetadataResolver" %> +<%@ page import="org.opensaml.saml.metadata.resolver.MetadataResolver" %> +<%@ page import="org.opensaml.saml.metadata.resolver.RefreshableMetadataResolver" %> +<%@ page import="net.shibboleth.idp.Version" %> +<%@ page import="net.shibboleth.idp.saml.metadata.impl.RelyingPartyMetadataProvider" %> +<%@ page import="net.shibboleth.utilities.java.support.component.IdentifiedComponent" %> +<%@ page import="net.shibboleth.utilities.java.support.service.ReloadableService" %> +<%@ page import="net.shibboleth.utilities.java.support.service.ServiceableComponent" %> +<% +final RequestContext requestContext = (RequestContext) request.getAttribute("flowRequestContext"); +final DateTimeFormatter dateTimeFormatter = ISODateTimeFormat.dateTimeNoMillis(); +final DateTime now = DateTime.now(); +final DateTime startupTime = new DateTime(requestContext.getActiveFlow().getApplicationContext().getStartupDate()); +%>### Operating Environment Information +operating_system: <%= System.getProperty("os.name") %> +operating_system_version: <%= System.getProperty("os.version") %> +operating_system_architecture: <%= System.getProperty("os.arch") %> +jdk_version: <%= System.getProperty("java.version") %> +available_cores: <%= Runtime.getRuntime().availableProcessors() %> +used_memory: <%= Runtime.getRuntime().totalMemory() / 1048576 %> MB +maximum_memory: <%= Runtime.getRuntime().maxMemory() / 1048576 %> MB + +### Identity Provider Information +idp_version: <%= Version.getVersion() %> +start_time: <%= startupTime.toString(dateTimeFormatter) %> +current_time: <%= now.toString(dateTimeFormatter) %> +uptime: <%= now.getMillis() - startupTime.getMillis() %> ms + +<% +for (final ReloadableService service : (Collection) request.getAttribute("services")) { + final DateTime successfulReload = service.getLastSuccessfulReloadInstant(); + final DateTime lastReload = service.getLastReloadAttemptInstant(); + final Throwable cause = service.getReloadFailureCause(); + + out.println("service: " + ((IdentifiedComponent) service).getId()); + if (successfulReload != null) { + out.println("last successful reload attempt: " + successfulReload.toString(dateTimeFormatter)); + } + if (lastReload != null) { + out.println("last reload attempt: " + lastReload.toString(dateTimeFormatter)); + } + if (cause != null) { + out.println("last failure cause: " + cause.getClass().getName() + ": " + cause.getMessage()); + } + + out.println(); + + if (((IdentifiedComponent) service).getId().contains("Metadata")) { + final ServiceableComponent component = service.getServiceableComponent(); + try { + MetadataResolver rootResolver = component.getComponent(); + Collection resolvers = Collections.emptyList(); + + // Step down into wrapping component. + if (rootResolver instanceof RelyingPartyMetadataProvider) { + rootResolver = ((RelyingPartyMetadataProvider) rootResolver).getEmbeddedResolver(); + } + + if (rootResolver instanceof RefreshableMetadataResolver) { + resolvers = Collections.singletonList((RefreshableMetadataResolver) rootResolver); + } else if (rootResolver instanceof ChainingMetadataResolver) { + resolvers = new ArrayList(); + for (final MetadataResolver childResolver : ((ChainingMetadataResolver) rootResolver).getResolvers()) { + if (childResolver instanceof RefreshableMetadataResolver) { + resolvers.add((RefreshableMetadataResolver) childResolver); + } + } + } + + for (final RefreshableMetadataResolver resolver : resolvers) { + final DateTime lastRefresh = resolver.getLastRefresh(); + final DateTime lastUpdate = resolver.getLastUpdate(); + + out.println("\tmetadata source: " + resolver.getId()); + if (lastRefresh != null) { + out.println("\tlast refresh attempt: " + lastRefresh.toString(dateTimeFormatter)); + } + if (lastUpdate != null) { + out.println("\tlast update: " + lastUpdate.toString(dateTimeFormatter)); + } + out.println(); + } + } finally { + if (null != component) { + component.unpinComponent(); + } + } + } +} +%> diff --git a/edit-webapp/WEB-INF/lib/README b/edit-webapp/WEB-INF/lib/README new file mode 100644 index 0000000..f6d0f2e --- /dev/null +++ b/edit-webapp/WEB-INF/lib/README @@ -0,0 +1,102 @@ +Libraries added by default +----------- +activation-1.1.jar +antlr-2.7.7.jar +aopalliance-1.0.jar +bcprov-jdk15on-1.51.jar +c3p0-0.9.2.1.jar +commons-codec-1.10.jar +commons-collections-3.2.1.jar +commons-compiler-2.7.7.jar +commons-lang-2.4.jar +cryptacular-1.0.jar +dom4j-1.6.1.jar +guava-18.0.jar +hibernate-commons-annotations-4.0.4.Final.jar +hibernate-core-4.3.5.Final.jar +hibernate-entitymanager-4.3.5.Final.jar +hibernate-jpa-2.1-api-1.0.0.Final.jar +httpclient-4.3.6.jar +httpclient-cache-4.3.6.jar +httpcore-4.3.3.jar +idp-attribute-api-3.0.0.jar +idp-attribute-filter-api-3.0.0.jar +idp-attribute-filter-impl-3.0.0.jar +idp-attribute-filter-spring-3.0.0.jar +idp-attribute-resolver-api-3.0.0.jar +idp-attribute-resolver-impl-3.0.0.jar +idp-attribute-resolver-spring-3.0.0.jar +idp-authn-api-3.0.0.jar +idp-authn-impl-3.0.0.jar +idp-cas-api-3.0.0.jar +idp-cas-impl-3.0.0.jar +idp-consent-3.0.0.jar +idp-core-3.0.0.jar +idp-profile-api-3.0.0.jar +idp-profile-impl-3.0.0.jar +idp-profile-spring-3.0.0.jar +idp-saml-api-3.0.0.jar +idp-saml-impl-3.0.0.jar +idp-schema-3.0.0.jar +idp-session-api-3.0.0.jar +idp-session-impl-3.0.0.jar +idp-ui-3.0.0.jar +jandex-1.1.0.Final.jar +janino-2.7.7.jar +javassist-3.18.1-GA.jar +java-support-7.0.0.jar +javax.json-1.0.4.jar +javax.json-api-1.0.jar +jboss-logging-3.1.3.GA.jar +jboss-logging-annotations-1.2.0.Beta1.jar +jboss-transaction-api_1.2_spec-1.0.0.Final.jar +jcl-over-slf4j-1.7.7.jar +jcommander-1.35.jar +joda-time-2.6.jar +jsr305-3.0.0.jar +ldaptive-1.0.5.jar +logback-classic-1.1.2.jar +logback-core-1.1.2.jar +mail-1.4.7.jar +mchange-commons-java-0.2.3.4.jar +ognl-2.6.11.jar +opensaml-core-3.0.0.jar +opensaml-messaging-api-3.0.0.jar +opensaml-messaging-impl-3.0.0.jar +opensaml-profile-api-3.0.0.jar +opensaml-profile-impl-3.0.0.jar +opensaml-saml-api-3.0.0.jar +opensaml-saml-impl-3.0.0.jar +opensaml-security-api-3.0.0.jar +opensaml-security-impl-3.0.0.jar +opensaml-soap-api-3.0.0.jar +opensaml-soap-impl-3.0.0.jar +opensaml-storage-api-3.0.0.jar +opensaml-storage-impl-3.0.0.jar +opensaml-xmlsec-api-3.0.0.jar +opensaml-xmlsec-impl-3.0.0.jar +README +slf4j-api-1.7.7.jar +spring-aop-4.1.3.RELEASE.jar +spring-beans-4.1.3.RELEASE.jar +spring-binding-2.4.1.RELEASE.jar +spring-context-4.1.3.RELEASE.jar +spring-context-support-4.1.3.RELEASE.jar +spring-core-4.1.3.RELEASE.jar +spring-expression-4.1.3.RELEASE.jar +spring-extensions-5.0.0.jar +spring-jdbc-4.1.3.RELEASE.jar +spring-js-2.4.1.RELEASE.jar +spring-js-resources-2.4.1.RELEASE.jar +spring-orm-4.1.3.RELEASE.jar +spring-tx-4.1.3.RELEASE.jar +spring-web-4.1.3.RELEASE.jar +spring-webflow-2.4.1.RELEASE.jar +spring-webmvc-4.1.3.RELEASE.jar +spymemcached-2.11.4.jar +stax2-api-3.1.4.jar +stax-api-1.0-2.jar +velocity-1.7.jar +woodstox-core-asl-4.4.1.jar +xml-apis-1.0.b2.jar +xmlsec-2.0.2.jar diff --git a/edit-webapp/WEB-INF/spring.tld b/edit-webapp/WEB-INF/spring.tld new file mode 100644 index 0000000..d25232e --- /dev/null +++ b/edit-webapp/WEB-INF/spring.tld @@ -0,0 +1,482 @@ + + + + Spring Framework JSP Tag Library + 4.0 + spring + http://www.springframework.org/tags + + + + Sets default HTML escape value for the current page. + Overrides a "defaultHtmlEscape" context-param in web.xml, if any. + + htmlEscape + org.springframework.web.servlet.tags.HtmlEscapeTag + JSP + + Set the default value for HTML escaping, to be put + into the current PageContext. + defaultHtmlEscape + true + true + + + + + + Escapes its enclosed body content, applying HTML escaping and/or JavaScript escaping. + The HTML escaping flag participates in a page-wide or application-wide setting + (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). + + escapeBody + org.springframework.web.servlet.tags.EscapeBodyTag + JSP + + Set HTML escaping for this tag, as boolean value. Overrides the + default HTML escaping setting for the current page. + htmlEscape + false + true + + + Set JavaScript escaping for this tag, as boolean value. + Default is false. + javaScriptEscape + false + true + + + + + + Retrieves the message with the given code, or text if code isn't resolvable. + The HTML escaping flag participates in a page-wide or application-wide setting + (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). + + message + org.springframework.web.servlet.tags.MessageTag + JSP + + A MessageSourceResolvable argument (direct or through JSP EL). + Fits nicely when used in conjunction with Spring's own validation error + classes which all implement the MessageSourceResolvable interface. For + example, this allows you to iterate over all of the errors in a form, + passing each error (using a runtime expression) as the value of this + 'message' attribute, thus effecting the easy display of such error + messages. + message + false + true + + + The code (key) to use when looking up the message. + If code is not provided, the text attribute will be used. + code + false + true + + + Set optional message arguments for this tag, as a + (comma-)delimited String (each String argument can contain JSP EL), + an Object array (used as argument array), or a single Object (used + as single argument). You can additionally use nested spring:argument + tags. + arguments + false + true + + + The separator character to be used for splitting the + arguments string value; defaults to a 'comma' (','). + argumentSeparator + false + true + + + Default text to output when a message for the given code + could not be found. If both text and code are not set, the tag will + output null. + text + false + true + + + The string to use when binding the result to the page, + request, session or application scope. If not specified, the result + gets outputted to the writer (i.e. typically directly to the JSP). + var + false + true + + + The scope to use when exporting the result to a variable. + This attribute is only used when var is also set. Possible values are + page, request, session and application. + scope + false + true + + + Set HTML escaping for this tag, as boolean value. + Overrides the default HTML escaping setting for the current page. + htmlEscape + false + true + + + Set JavaScript escaping for this tag, as boolean value. Default is false. + javaScriptEscape + false + true + + + + + + Retrieves the theme message with the given code, or text if code isn't resolvable. + The HTML escaping flag participates in a page-wide or application-wide setting + (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). + + theme + org.springframework.web.servlet.tags.ThemeTag + JSP + + A MessageSourceResolvable argument (direct or through JSP EL). + message + false + true + + + The code (key) to use when looking up the message. + If code is not provided, the text attribute will be used. + code + false + true + + + Set optional message arguments for this tag, as a + (comma-)delimited String (each String argument can contain JSP EL), + an Object array (used as argument array), or a single Object (used + as single argument). You can additionally use nested spring:argument + tags. + arguments + false + true + + + The separator character to be used for splitting the + arguments string value; defaults to a 'comma' (','). + argumentSeparator + false + true + + + Default text to output when a message for the given code + could not be found. If both text and code are not set, the tag will + output null. + text + false + true + + + The string to use when binding the result to the page, + request, session or application scope. If not specified, the result + gets outputted to the writer (i.e. typically directly to the JSP). + var + false + true + + + The scope to use when exporting the result to a variable. + This attribute is only used when var is also set. Possible values are + page, request, session and application. + scope + false + true + + + Set HTML escaping for this tag, as boolean value. + Overrides the default HTML escaping setting for the current page. + htmlEscape + false + true + + + Set JavaScript escaping for this tag, as boolean value. Default is false. + javaScriptEscape + false + true + + + + + Argument tag based on the JSTL fmt:param tag. The purpose is to + support arguments inside the spring:message and spring:theme + tags. + argument + org.springframework.web.servlet.tags.ArgumentTag + JSP + + The value of the argument. + value + false + true + java.lang.Object + + + + + + Provides Errors instance in case of bind errors. + The HTML escaping flag participates in a page-wide or application-wide setting + (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). + + hasBindErrors + org.springframework.web.servlet.tags.BindErrorsTag + JSP + + errors + org.springframework.validation.Errors + + + The name of the bean in the request, that needs to be + inspected for errors. If errors are available for this bean, they + will be bound under the 'errors' key. + name + true + true + + + Set HTML escaping for this tag, as boolean value. + Overrides the default HTML escaping setting for the current page. + htmlEscape + false + true + + + + + + Sets a nested path to be used by the bind tag's path. + + nestedPath + org.springframework.web.servlet.tags.NestedPathTag + JSP + + nestedPath + java.lang.String + + + Set the path that this tag should apply. E.g. 'customer' + to allow bind paths like 'address.street' rather than + 'customer.address.street'. + path + true + true + + + + + + Provides BindStatus object for the given bind path. + The HTML escaping flag participates in a page-wide or application-wide setting + (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). + + bind + org.springframework.web.servlet.tags.BindTag + JSP + + status + org.springframework.web.servlet.support.BindStatus + + + The path to the bean or bean property to bind status + information for. For instance account.name, company.address.zipCode + or just employee. The status object will exported to the page scope, + specifically for this bean or bean property + path + true + true + + + Set whether to ignore a nested path, if any. Default is to not ignore. + ignoreNestedPath + false + true + + + Set HTML escaping for this tag, as boolean value. Overrides + the default HTML escaping setting for the current page. + htmlEscape + false + true + + + + + + Provides transformation of variables to Strings, using an appropriate + custom PropertyEditor from BindTag (can only be used inside BindTag). + The HTML escaping flag participates in a page-wide or application-wide setting + (i.e. by HtmlEscapeTag or a 'defaultHtmlEscape' context-param in web.xml). + + transform + org.springframework.web.servlet.tags.TransformTag + JSP + + The value to transform. This is the actual object you want + to have transformed (for instance a Date). Using the PropertyEditor that + is currently in use by the 'spring:bind' tag. + value + true + true + + + The string to use when binding the result to the page, + request, session or application scope. If not specified, the result gets + outputted to the writer (i.e. typically directly to the JSP). + var + false + true + + + The scope to use when exported the result to a variable. + This attribute is only used when var is also set. Possible values are + page, request, session and application. + scope + false + true + + + Set HTML escaping for this tag, as boolean value. Overrides + the default HTML escaping setting for the current page. + htmlEscape + false + true + + + + + URL tag based on the JSTL c:url tag. This variant is fully + backwards compatible with the standard tag. Enhancements include support + for URL template parameters. + url + org.springframework.web.servlet.tags.UrlTag + JSP + + The URL to build. This value can include template place holders + that are replaced with the URL encoded value of the named parameter. Parameters + must be defined using the param tag inside the body of this tag. + value + true + true + + + Specifies a remote application context path. The default is the + current application context path. + context + false + true + + + The name of the variable to export the URL value to. + var + false + true + + + The scope for the var. 'application', 'session', 'request' and + 'page' scopes are supported. Defaults to page scope. This attribute has no + effect unless the var attribute is also defined. + scope + false + true + + + Set HTML escaping for this tag, as a boolean value. Overrides the + default HTML escaping setting for the current page. + htmlEscape + false + true + + + Set JavaScript escaping for this tag, as a boolean value. + Default is false. + javaScriptEscape + false + true + + + + + Parameter tag based on the JSTL c:param tag. The sole purpose is to + support params inside the spring:url tag. + param + org.springframework.web.servlet.tags.ParamTag + JSP + + The name of the parameter. + name + true + true + + + The value of the parameter. + value + false + true + + + + + Evaluates a Spring expression (SpEL) and either prints the result or assigns it to a variable. + eval + org.springframework.web.servlet.tags.EvalTag + JSP + + The expression to evaluate. + expression + true + true + + + The name of the variable to export the evaluation result to. + var + false + true + + + The scope for the var. 'application', 'session', 'request' and + 'page' scopes are supported. Defaults to page scope. This attribute has no + effect unless the var attribute is also defined. + scope + false + true + + + Set HTML escaping for this tag, as a boolean value. Overrides the + default HTML escaping setting for the current page. + htmlEscape + false + true + + + Set JavaScript escaping for this tag, as a boolean value. Default is false. + javaScriptEscape + false + true + + + + + Helps to prepare a URL to a Spring MVC controller method. + mvcUrl + org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder + org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodArgumentBuilder fromMappingName(java.lang.String) + + + diff --git a/edit-webapp/WEB-INF/web.xml b/edit-webapp/WEB-INF/web.xml new file mode 100644 index 0000000..e012740 --- /dev/null +++ b/edit-webapp/WEB-INF/web.xml @@ -0,0 +1,230 @@ + + + + Shibboleth Identity Provider + + + + contextConfigLocation + ${idp.home}/system/conf/global-system.xml + + + + contextClass + net.shibboleth.ext.spring.context.DeferPlaceholderFileSystemXmlWebApplicationContext + + + + contextInitializerClasses + net.shibboleth.idp.spring.IdPPropertiesApplicationContextInitializer + + + + + org.springframework.web.context.ContextLoaderListener + + + + + + CharacterEncodingFilter + org.springframework.web.filter.CharacterEncodingFilter + + encoding + UTF-8 + + + forceEncoding + true + + + + + CookieBufferingFilter + net.shibboleth.utilities.java.support.net.CookieBufferingFilter + + + + ClientSessionStorageServiceFilter + org.springframework.web.filter.DelegatingFilterProxy + + targetBeanName + shibboleth.ClientSessionStorageService + + + + + ClientPersistentStorageServiceFilter + org.springframework.web.filter.DelegatingFilterProxy + + targetBeanName + shibboleth.ClientPersistentStorageService + + + + + RequestResponseContextFilter + net.shibboleth.utilities.java.support.net.RequestResponseContextFilter + + + + SL4JMDCServletFilter + net.shibboleth.idp.log.SLF4JMDCServletFilter + + + CookieBufferingFilter + /profile/Logout + /profile/Shibboleth/SSO + /profile/SAML2/Unsolicited/SSO + /profile/SAML2/Redirect/SSO + /profile/SAML2/POST/SSO + /profile/SAML2/POST-SimpleSign/SSO + /profile/SAML2/Redirect/SLO + /profile/SAML2/POST/SLO + /profile/SAML2/POST-SimpleSign/SLO + /profile/cas/login + + + ClientSessionStorageServiceFilter + /profile/Logout + /profile/Shibboleth/SSO + /profile/SAML2/Unsolicited/SSO + /profile/SAML2/Redirect/SSO + /profile/SAML2/POST/SSO + /profile/SAML2/POST-SimpleSign/SSO + /profile/SAML2/Redirect/SLO + /profile/SAML2/POST/SLO + /profile/SAML2/POST-SimpleSign/SLO + /profile/cas/login + + + ClientPersistentStorageServiceFilter + /profile/Shibboleth/SSO + /profile/SAML2/Unsolicited/SSO + /profile/SAML2/Redirect/SSO + /profile/SAML2/POST/SSO + /profile/SAML2/POST-SimpleSign/SSO + /profile/cas/login + + + CharacterEncodingFilter + /* + + + RequestResponseContextFilter + /* + + + SL4JMDCServletFilter + /* + + + + + + + + idp + org.springframework.web.servlet.DispatcherServlet + + contextConfigLocation + ${idp.home}/system/conf/mvc-beans.xml ${idp.home}/system/conf/webflow-config.xml + + + contextClass + net.shibboleth.ext.spring.context.DeferPlaceholderFileSystemXmlWebApplicationContext + + 1 + + + idp + /status + /profile/* + + + + + RemoteUserAuthHandler + net.shibboleth.idp.authn.impl.RemoteUserAuthServlet + 2 + + + RemoteUserAuthHandler + /Authn/RemoteUser + + + + + X509AuthHandler + net.shibboleth.idp.authn.impl.X509AuthServlet + 3 + + + X509AuthHandler + /Authn/X509 + + + + + shibboleth_jsp + /WEB-INF/jsp/metadata.jsp + + + shibboleth_jsp + /shibboleth + + + + + + + + + + + -- cgit v1.1