diff --git a/maxkey-webs/maxkey-web-manage/src/main/java/org/maxkey/tasks/oauth/OauthTokenCodeCleaner.java b/maxkey-webs/maxkey-web-manage/src/main/java/org/maxkey/tasks/oauth/OauthTokenCodeCleaner.java deleted file mode 100644 index 6c20f8246..000000000 --- a/maxkey-webs/maxkey-web-manage/src/main/java/org/maxkey/tasks/oauth/OauthTokenCodeCleaner.java +++ /dev/null @@ -1,47 +0,0 @@ -package org.maxkey.tasks.oauth; - -import java.util.Date; - - -import org.joda.time.DateTime; -import org.joda.time.format.DateTimeFormat; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.jdbc.core.JdbcTemplate; - -public class OauthTokenCodeCleaner { - - final static Logger _logger = LoggerFactory.getLogger(OauthTokenCodeCleaner.class); - - JdbcTemplate jdbcTemplate; - - public static final String OAUTH_CODE_CLEANER_SQL="DELETE FROM OAUTH_CODE WHERE ALLOCATEDTIME < ?"; - - public static final String OAUTH10A_REQUEST_TOKEN_CLEANER_SQL="DELETE FROM OAUTH10A_REQUEST_TOKEN WHERE ALLOCATEDTIME < ?"; - - public static final String OAUTH10A_VERIFIER_CLEANER_SQL="DELETE FROM OAUTH10A_VERIFIER WHERE ALLOCATEDTIME < ?"; - - public void clean() { - _logger.info("OAuth Token & Code Cleaner start . "); - DateTime currentdateTime = new DateTime(); - _logger.info("current date time : " +currentdateTime.toString( DateTimeFormat.forPattern("yyyy-MM-dd HH:mm:ss"))); - currentdateTime=currentdateTime.minusMinutes(10); - Date date=currentdateTime.toDate(); - _logger.info("OAuth Code Cleaner date time : " +currentdateTime.toString( DateTimeFormat.forPattern("yyyy-MM-dd HH:mm:ss"))); - jdbcTemplate.update(OAUTH_CODE_CLEANER_SQL, date); - jdbcTemplate.update(OAUTH10A_REQUEST_TOKEN_CLEANER_SQL, date); - jdbcTemplate.update(OAUTH10A_VERIFIER_CLEANER_SQL, date); - _logger.info("OAuth Token & Code Cleaner Successful"); - } - - - public JdbcTemplate getJdbcTemplate() { - return jdbcTemplate; - } - - public void setJdbcTemplate(JdbcTemplate jdbcTemplate) { - this.jdbcTemplate = jdbcTemplate; - } - - -} diff --git a/maxkey-webs/maxkey-web-manage/src/main/java/org/maxkey/web/apps/contorller/BaseSAMLAppContorller.java b/maxkey-webs/maxkey-web-manage/src/main/java/org/maxkey/web/apps/contorller/BaseSAMLAppContorller.java deleted file mode 100644 index b50dfcab5..000000000 --- a/maxkey-webs/maxkey-web-manage/src/main/java/org/maxkey/web/apps/contorller/BaseSAMLAppContorller.java +++ /dev/null @@ -1,95 +0,0 @@ -/** - * - */ -package org.maxkey.web.apps.contorller; - -import java.io.IOException; -import java.io.InputStream; -import java.security.KeyStore; -import java.security.cert.X509Certificate; - -import org.maxkey.authz.saml20.metadata.MetadataDescriptorUtil; -import org.maxkey.crypto.cert.NameUtil; -import org.maxkey.crypto.cert.X509CertUtils; -import org.maxkey.crypto.keystore.KeyStoreLoader; -import org.maxkey.crypto.keystore.KeyStoreUtil; -import org.maxkey.domain.apps.SAMLBaseDetails; -import org.opensaml.common.xml.SAMLConstants; -import org.opensaml.saml2.metadata.EntityDescriptor; -import org.opensaml.saml2.metadata.SPSSODescriptor; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.beans.factory.annotation.Qualifier; - -/** - * @author Crystal.Sea - * - */ -public class BaseSAMLAppContorller extends BaseAppContorller { - - final static Logger _logger = LoggerFactory.getLogger(BaseSAMLAppContorller.class); - - @Autowired - @Qualifier("keyStoreLoader") - private KeyStoreLoader idpKeyStoreLoader; - - protected SAMLBaseDetails transform(SAMLBaseDetails samlDetails) throws Exception{ - - super.transform(samlDetails); - - X509Certificate trustCert = null; - if (null!=samlDetails.getCertMetaFile()&&!samlDetails.getCertMetaFile().isEmpty()) { - if(null==samlDetails.getFileType()||samlDetails.getFileType().equals("certificate")){//certificate file - try { - InputStream isCert = samlDetails.getCertMetaFile().getInputStream(); - trustCert = X509CertUtils.loadCertFromInputStream(isCert); - isCert.close(); - } catch (IOException e) { - _logger.error("read certificate file error .", e); - throw new Exception("read certificate file error", e); - } - }else if(samlDetails.getFileType().equals("metadata")){//metadata file - EntityDescriptor entityDescriptor; - try { - entityDescriptor = MetadataDescriptorUtil.getInstance().getEntityDescriptor(samlDetails.getCertMetaFile().getInputStream()); - } catch (IOException e) { - _logger.error("metadata file resolve error .", e); - throw new Exception("metadata file resolve error", e); - } - SPSSODescriptor sPSSODescriptor = entityDescriptor.getSPSSODescriptor(SAMLConstants.SAML20P_NS); - String b64Encoder = sPSSODescriptor.getKeyDescriptors().get(0).getKeyInfo().getX509Datas().get(0).getX509Certificates().get(0).getValue(); - - trustCert = X509CertUtils.loadCertFromB64Encoded(b64Encoder); - - samlDetails.setSpAcsUrl(sPSSODescriptor.getAssertionConsumerServices().get(0).getLocation()); - samlDetails.setEntityId(entityDescriptor.getEntityID()); - - _logger.info("SPSSODescriptor EntityID"+ entityDescriptor.getEntityID()); - } - - samlDetails.setCertSubject(trustCert.getSubjectDN().getName()); - samlDetails.setCertExpiration(trustCert.getNotAfter().toString()); - - samlDetails.setCertIssuer(NameUtil.getCommonName(trustCert.getIssuerX500Principal())); - - KeyStore keyStore = KeyStoreUtil.clone(idpKeyStoreLoader.getKeyStore(),idpKeyStoreLoader.getKeystorePassword()); - - KeyStore trustKeyStore = null; - if (!samlDetails.getEntityId().equals("")) { - trustKeyStore = KeyStoreUtil.importTrustCertificate(keyStore,trustCert, samlDetails.getEntityId()); - } else { - trustKeyStore = KeyStoreUtil.importTrustCertificate(keyStore,trustCert); - } - - byte[] keyStoreByte = KeyStoreUtil.keyStore2Bytes(trustKeyStore,idpKeyStoreLoader.getKeystorePassword()); - - // store KeyStore content - samlDetails.setKeyStore(keyStoreByte); - } - - return samlDetails; - } - - -} diff --git a/maxkey-webs/maxkey-web-manage/src/main/java/org/maxkey/web/apps/contorller/SAML20DetailsController.java b/maxkey-webs/maxkey-web-manage/src/main/java/org/maxkey/web/apps/contorller/SAML20DetailsController.java index e5cf26774..f3b4f5ccf 100644 --- a/maxkey-webs/maxkey-web-manage/src/main/java/org/maxkey/web/apps/contorller/SAML20DetailsController.java +++ b/maxkey-webs/maxkey-web-manage/src/main/java/org/maxkey/web/apps/contorller/SAML20DetailsController.java @@ -1,18 +1,31 @@ package org.maxkey.web.apps.contorller; +import java.io.IOException; +import java.io.InputStream; +import java.security.KeyStore; +import java.security.cert.X509Certificate; import java.util.List; +import org.maxkey.authz.saml20.metadata.MetadataDescriptorUtil; import org.maxkey.constants.OPERATEMESSAGE; import org.maxkey.constants.PROTOCOLS; import org.maxkey.crypto.ReciprocalUtils; +import org.maxkey.crypto.cert.NameUtil; +import org.maxkey.crypto.cert.X509CertUtils; +import org.maxkey.crypto.keystore.KeyStoreLoader; +import org.maxkey.crypto.keystore.KeyStoreUtil; import org.maxkey.dao.service.Saml20DetailsService; import org.maxkey.domain.apps.SAML20Details; import org.maxkey.web.WebContext; import org.maxkey.web.message.Message; import org.maxkey.web.message.MessageType; +import org.opensaml.common.xml.SAMLConstants; +import org.opensaml.saml2.metadata.EntityDescriptor; +import org.opensaml.saml2.metadata.SPSSODescriptor; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.PathVariable; @@ -23,9 +36,13 @@ import org.springframework.web.servlet.ModelAndView; @Controller @RequestMapping(value={"/apps/saml20"}) -public class SAML20DetailsController extends BaseSAMLAppContorller { +public class SAML20DetailsController extends BaseAppContorller { final static Logger _logger = LoggerFactory.getLogger(SAML20DetailsController.class); + @Autowired + @Qualifier("keyStoreLoader") + private KeyStoreLoader idpKeyStoreLoader; + @Autowired Saml20DetailsService saml20DetailsService; @@ -107,7 +124,62 @@ public class SAML20DetailsController extends BaseSAMLAppContorller { } } + protected SAML20Details transform(SAML20Details samlDetails) throws Exception{ + + super.transform(samlDetails); + + X509Certificate trustCert = null; + if (null!=samlDetails.getCertMetaFile()&&!samlDetails.getCertMetaFile().isEmpty()) { + if(null==samlDetails.getFileType()||samlDetails.getFileType().equals("certificate")){//certificate file + try { + InputStream isCert = samlDetails.getCertMetaFile().getInputStream(); + trustCert = X509CertUtils.loadCertFromInputStream(isCert); + isCert.close(); + } catch (IOException e) { + _logger.error("read certificate file error .", e); + throw new Exception("read certificate file error", e); + } + }else if(samlDetails.getFileType().equals("metadata")){//metadata file + EntityDescriptor entityDescriptor; + try { + entityDescriptor = MetadataDescriptorUtil.getInstance().getEntityDescriptor(samlDetails.getCertMetaFile().getInputStream()); + } catch (IOException e) { + _logger.error("metadata file resolve error .", e); + throw new Exception("metadata file resolve error", e); + } + SPSSODescriptor sPSSODescriptor = entityDescriptor.getSPSSODescriptor(SAMLConstants.SAML20P_NS); + String b64Encoder = sPSSODescriptor.getKeyDescriptors().get(0).getKeyInfo().getX509Datas().get(0).getX509Certificates().get(0).getValue(); + trustCert = X509CertUtils.loadCertFromB64Encoded(b64Encoder); + + samlDetails.setSpAcsUrl(sPSSODescriptor.getAssertionConsumerServices().get(0).getLocation()); + samlDetails.setEntityId(entityDescriptor.getEntityID()); + + _logger.info("SPSSODescriptor EntityID"+ entityDescriptor.getEntityID()); + } + + samlDetails.setCertSubject(trustCert.getSubjectDN().getName()); + samlDetails.setCertExpiration(trustCert.getNotAfter().toString()); + + samlDetails.setCertIssuer(NameUtil.getCommonName(trustCert.getIssuerX500Principal())); + + KeyStore keyStore = KeyStoreUtil.clone(idpKeyStoreLoader.getKeyStore(),idpKeyStoreLoader.getKeystorePassword()); + + KeyStore trustKeyStore = null; + if (!samlDetails.getEntityId().equals("")) { + trustKeyStore = KeyStoreUtil.importTrustCertificate(keyStore,trustCert, samlDetails.getEntityId()); + } else { + trustKeyStore = KeyStoreUtil.importTrustCertificate(keyStore,trustCert); + } + + byte[] keyStoreByte = KeyStoreUtil.keyStore2Bytes(trustKeyStore,idpKeyStoreLoader.getKeystorePassword()); + + // store KeyStore content + samlDetails.setKeyStore(keyStoreByte); + } + + return samlDetails; + } } diff --git a/maxkey-webs/maxkey-web-maxkey/bin/main/messages/message.properties b/maxkey-webs/maxkey-web-maxkey/bin/main/messages/message.properties index 39e2fd7a1..4b57cf314 100644 --- a/maxkey-webs/maxkey-web-maxkey/bin/main/messages/message.properties +++ b/maxkey-webs/maxkey-web-maxkey/bin/main/messages/message.properties @@ -49,7 +49,6 @@ login.password.expired=\u5BC6\u7801\u8FC7\u671F login.password.expired.tip=\u5BC6\u7801\u8FC7\u671F\uFF0C\u8BF7\u4FEE\u6539\u5BC6\u7801 login.password.newPassword=\u65B0\u5BC6\u7801 login.password.confirmPassword=\u786E\u8BA4\u65B0\u5BC6\u7801 - login.password.initial.change.tip=\u9996\u6B21\u767B\u5F55\uFF0C\u8BF7\u4FEE\u6539\u521D\u59CB\u5316\u5BC6\u7801 userinfo.displayName=\u7528\u6237 diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/resources/messages/message.properties b/maxkey-webs/maxkey-web-maxkey/src/main/resources/messages/message.properties index 39e2fd7a1..4b57cf314 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/resources/messages/message.properties +++ b/maxkey-webs/maxkey-web-maxkey/src/main/resources/messages/message.properties @@ -49,7 +49,6 @@ login.password.expired=\u5BC6\u7801\u8FC7\u671F login.password.expired.tip=\u5BC6\u7801\u8FC7\u671F\uFF0C\u8BF7\u4FEE\u6539\u5BC6\u7801 login.password.newPassword=\u65B0\u5BC6\u7801 login.password.confirmPassword=\u786E\u8BA4\u65B0\u5BC6\u7801 - login.password.initial.change.tip=\u9996\u6B21\u767B\u5F55\uFF0C\u8BF7\u4FEE\u6539\u521D\u59CB\u5316\u5BC6\u7801 userinfo.displayName=\u7528\u6237 diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/tags/connsecTag.tld b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/tags/maxkeyTag.tld similarity index 100% rename from maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/tags/connsecTag.tld rename to maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/tags/maxkeyTag.tld diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/tiles/tiles-authz.xml b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/tiles/tiles-authz.xml deleted file mode 100644 index 0636d2303..000000000 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/tiles/tiles-authz.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/tiles/tiles-main.xml b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/tiles/tiles-main.xml deleted file mode 100644 index ddbd53670..000000000 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/tiles/tiles-main.xml +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/tiles/tiles-system.xml b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/tiles/tiles-system.xml deleted file mode 100644 index 175cef726..000000000 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/tiles/tiles-system.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/tiles/tiles.xml b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/tiles/tiles.xml deleted file mode 100644 index 28f32621c..000000000 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/tiles/tiles.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/app_password_protected.jsp b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/app_password_protected.jsp index e769c32fe..bd659b8ec 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/app_password_protected.jsp +++ b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/app_password_protected.jsp @@ -1,7 +1,7 @@ <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> -<%@ taglib prefix="s" uri="http://www.connsec.com/tags" %> +<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %> diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/desktop_qq_sso_execute.jsp b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/desktop_qq_sso_execute.jsp index c71fb6ebb..6bf30ff46 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/desktop_qq_sso_execute.jsp +++ b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/desktop_qq_sso_execute.jsp @@ -1,7 +1,7 @@ <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> -<%@ taglib prefix="s" uri="http://www.connsec.com/tags" %> +<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %> diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/desktop_sso_execute.jsp b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/desktop_sso_execute.jsp index 3a29f36c9..45d3e67cd 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/desktop_sso_execute.jsp +++ b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/desktop_sso_execute.jsp @@ -1,7 +1,7 @@ <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> -<%@ taglib prefix="s" uri="http://www.connsec.com/tags" %> +<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %> diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_netease_163email_sso_submint.jsp b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_netease_163email_sso_submint.jsp index f1e86f2a9..5794de2a2 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_netease_163email_sso_submint.jsp +++ b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_netease_163email_sso_submint.jsp @@ -1,7 +1,7 @@ <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> -<%@ taglib prefix="s" uri="http://www.connsec.com/tags" %> +<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %> diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_netease_noteyoudao_sso_submint.jsp b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_netease_noteyoudao_sso_submint.jsp index d1d052bc8..eb874a73c 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_netease_noteyoudao_sso_submint.jsp +++ b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_netease_noteyoudao_sso_submint.jsp @@ -1,7 +1,7 @@ <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> -<%@ taglib prefix="s" uri="http://www.connsec.com/tags" %> +<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %> diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_qq_exmail_sso_submint.jsp b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_qq_exmail_sso_submint.jsp index 5e42f4e91..b364a73c2 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_qq_exmail_sso_submint.jsp +++ b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_qq_exmail_sso_submint.jsp @@ -1,7 +1,7 @@ <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> -<%@ taglib prefix="s" uri="http://www.connsec.com/tags" %> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> +<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %> diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_redirect_post_submint.jsp b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_redirect_post_submint.jsp index 1ff8617cd..819ea6d13 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_redirect_post_submint.jsp +++ b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_redirect_post_submint.jsp @@ -1,7 +1,7 @@ <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> -<%@ taglib prefix="s" uri="http://www.connsec.com/tags" %> +<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %> diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_redirect_submint.jsp b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_redirect_submint.jsp index 8eaa0a9da..d42b57c44 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_redirect_submint.jsp +++ b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_redirect_submint.jsp @@ -1,7 +1,7 @@ <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> -<%@ taglib prefix="s" uri="http://www.connsec.com/tags" %> +<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %> diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_sso_submint.jsp b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_sso_submint.jsp index 3db0a5f62..ab3eeabfb 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_sso_submint.jsp +++ b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/formbased_sso_submint.jsp @@ -1,7 +1,7 @@ <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> -<%@ taglib prefix="s" uri="http://www.connsec.com/tags" %> +<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %> diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/init_sso_credential.jsp b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/init_sso_credential.jsp index 9d7967067..d056a7c44 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/init_sso_credential.jsp +++ b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/init_sso_credential.jsp @@ -1,7 +1,7 @@ <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> -<%@ taglib prefix="s" uri="http://www.connsec.com/tags" %> +<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %> diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/oauth_access_confirmation.jsp b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/oauth_access_confirmation.jsp index 21a39ac70..c5caedf7f 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/oauth_access_confirmation.jsp +++ b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/oauth_access_confirmation.jsp @@ -4,7 +4,7 @@ <%@ page import="org.maxkey.authz.oauth2.common.exceptions.UnapprovedClientAuthenticationException" %> <%@ page import="org.springframework.security.web.WebAttributes" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> -<%@ taglib prefix="s" uri="http://www.connsec.com/tags" %> +<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %> diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/tokenbased_jwt_sso_submint.jsp b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/tokenbased_jwt_sso_submint.jsp index 8c1bc74dd..5c3524ba7 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/tokenbased_jwt_sso_submint.jsp +++ b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/tokenbased_jwt_sso_submint.jsp @@ -1,7 +1,7 @@ <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> -<%@ taglib prefix="s" uri="http://www.connsec.com/tags" %> +<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %> diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/tokenbased_sso_submint.jsp b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/tokenbased_sso_submint.jsp index 3baf0ac86..3d84df76e 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/tokenbased_sso_submint.jsp +++ b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/authorize/tokenbased_sso_submint.jsp @@ -1,7 +1,7 @@ <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> -<%@ taglib prefix="s" uri="http://www.connsec.com/tags" %> +<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %> diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/forgotpwd/email.jsp b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/forgotpwd/email.jsp index 4cac0092d..823d70ed0 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/forgotpwd/email.jsp +++ b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/forgotpwd/email.jsp @@ -2,7 +2,7 @@ <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> -<%@ taglib prefix="s" uri="http://www.connsec.com/tags" %> +<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %>
diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/forgotpwd/findpwd.jsp b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/forgotpwd/findpwd.jsp index daa66f320..d380cc2d9 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/forgotpwd/findpwd.jsp +++ b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/forgotpwd/findpwd.jsp @@ -2,7 +2,7 @@ <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> -<%@ taglib prefix="s" uri="http://www.connsec.com/tags" %> +<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %>
diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/forgotpwd/pwdreseted.jsp b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/forgotpwd/pwdreseted.jsp index 0eb41349e..0377d22c5 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/forgotpwd/pwdreseted.jsp +++ b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/forgotpwd/pwdreseted.jsp @@ -2,7 +2,7 @@ <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> -<%@ taglib prefix="s" uri="http://www.connsec.com/tags" %> +<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %>
diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/forgotpwd/resetpwd.jsp b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/forgotpwd/resetpwd.jsp index bf9a0f6b9..626873548 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/forgotpwd/resetpwd.jsp +++ b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/forgotpwd/resetpwd.jsp @@ -2,7 +2,7 @@ <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> -<%@ taglib prefix="s" uri="http://www.connsec.com/tags" %> +<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %>
diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/layout/common.css.jsp b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/layout/common.css.jsp index 210dec63d..b608ba429 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/layout/common.css.jsp +++ b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/layout/common.css.jsp @@ -1,5 +1,5 @@ <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> -<%@ taglib prefix="s" uri="http://www.connsec.com/tags" %> +<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %> <%-- common css begin --%> <%-- if browser is not msie 6.0,follow styles over ie 6.0 style --%> diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/layout/common.js.jsp b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/layout/common.js.jsp index 6c4181f32..b9242066a 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/layout/common.js.jsp +++ b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/layout/common.js.jsp @@ -1,5 +1,5 @@ <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> -<%@ taglib prefix="s" uri="http://www.connsec.com/tags" %> +<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %> <%-- javascript js begin --%> <%-- jquery base --%> diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/layout/footer.jsp b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/layout/footer.jsp index c5ae54a71..ec4a7b7f1 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/layout/footer.jsp +++ b/maxkey-webs/maxkey-web-maxkey/src/main/webapp/WEB-INF/views/layout/footer.jsp @@ -1,5 +1,5 @@ <%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %> -<%@ taglib prefix="s" uri="http://www.connsec.com/tags" %> +<%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %> <%-- footer --%>