# MaxKey-Demo **Repository Path**: aylerh/MaxKey-Demo ## Basic Information - **Project Name**: MaxKey-Demo - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2025-02-06 - **Last Updated**: 2025-02-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 缺点 项目比较老,这是一个jsp项目,需要用到tomcat,需要配置tomcat; # MaxKey Demo Projects ## Project Structure This is a multi-module Gradle project containing the following authentication demo modules: - maxkey-demo-jwt (JWT authentication) - maxkey-demo-cas (CAS integration) - maxkey-demo-ltpa (LTPA tokens) - maxkey-demo-oauth (OAuth/OIDC) - maxkey-demo-saml (SAML 2.0) - maxkey-demo-tokenbase (Token-based) Each module contains: - build.gradle - Module build configuration - src/main/webapp - Web application resources (JSP/HTML) - lib/ - Dependency jars - WEB-INF/web.xml - Servlet configuration ## Startup Instructions 1. Build the project (Windows): ```bash gradlew.bat clean build ``` 2. Deploy WAR files to Tomcat: ```bash # Copy built WAR files to Tomcat webapps xcopy ".\maxkey-demo-*\build\libs\*.war" "%CATALINA_HOME%\webapps\" /E /H /C /I # Start Tomcat %CATALINA_HOME%\bin\startup.bat ``` 3. Access demos through: ``` http://localhost:8080/maxkey-demo-{module-name}/ ``` Required Environment: - Java JDK 8+ - Apache Tomcat 9+ - Gradle 7+