text
stringlengths
24
1.04M
metadata
stringlengths
233
497
### File: spring-boot-quartz/src/main/resources/static/plugin/themes/default/validatebox.css .validatebox-invalid { border-color: #ffa8a8; background-color: #fff3f3; color: #000; }
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-quartz/src/main/resources/static/plugin/themes/default/validatebox.css", "license": "apache-2.0",...
### File: spring-boot-quartz/src/main/resources/static/plugin/themes/default/window.css .window { overflow: hidden; padding: 5px; border-width: 1px; border-style: solid; } .window .window-header { background: transparent; padding: 0px 0px 6px 0px; } .window .window-body { border-width: 1px; border-style...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-quartz/src/main/resources/static/plugin/themes/default/window.css", "license": "apache-2.0", "siz...
### File: spring-boot-quartz/src/main/resources/static/plugin/themes/icon.css .icon-blank{ background:url('icons/blank.gif') no-repeat center center; } .icon-add{ background:url('icons/edit_add.png') no-repeat center center; } .icon-edit{ background:url('icons/pencil.png') no-repeat center center; } .icon-clear{ ba...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-quartz/src/main/resources/static/plugin/themes/icon.css", "license": "apache-2.0", "size": 3063}
### File: spring-boot-quartz/src/main/webapp/WEB-INF/views/index.jsp <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Index</title> <link rel="stylesheet" type="text/css" href="/plugin/themes/default/easyui.css"> <link...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java Server Pages", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-quartz/src/main/webapp/WEB-INF/views/index.jsp", "license": "apache-2.0", "size": 4...
### File: spring-boot-samples/src/main/java/com/lance/application/Crawler.java package com.lance.application; import java.io.IOException; import java.util.Date; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import org.slf4j.Logger; import or...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/application/Crawler.java", "license": "apache-2.0", "size": 3128...
### File: spring-boot-samples/src/main/java/com/lance/application/CrawlerCall.java package com.lance.application; import java.util.concurrent.Callable; public class CrawlerCall implements Callable<String>{ public String call() throws Exception { return null; } }
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/application/CrawlerCall.java", "license": "apache-2.0", "size": ...
### File: spring-boot-samples/src/main/java/com/lance/application/UserSecurityInterceptor.java package com.lance.application; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.web.servlet.HandlerInterceptor; import org.springframework.web.ser...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/application/UserSecurityInterceptor.java", "license": "apache-2....
### File: spring-boot-samples/src/main/java/com/lance/application/WebAppConfig.java package com.lance.application; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springfr...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/application/WebAppConfig.java", "license": "apache-2.0", "size":...
### File: spring-boot-samples/src/main/java/com/lance/entity/AddressEntity.java package com.lance.entity; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; @Entity @Table(name="address") public ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/entity/AddressEntity.java", "license": "apache-2.0", "size": 112...
### File: spring-boot-samples/src/main/java/com/lance/entity/BlogEntity.java package com.lance.entity; import javax.persistence.Entity; import javax.persistence.JoinColumn; import javax.persistence.Lob; import javax.persistence.ManyToOne; import javax.persistence.Table; @Entity @Table(name="blog") public class BlogEn...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/entity/BlogEntity.java", "license": "apache-2.0", "size": 1237}
### File: spring-boot-samples/src/main/java/com/lance/entity/NavigationEntity.java package com.lance.entity; import javax.persistence.Entity; import javax.persistence.Table; @Entity @Table(name="navigation") public class NavigationEntity extends BaseEntity { /** 首页左边导航栏配置数据 */ public static final int TYPE_HOME_LEFT...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/entity/NavigationEntity.java", "license": "apache-2.0", "size": ...
### File: spring-boot-samples/src/main/java/com/lance/entity/UserEntity.java package com.lance.entity; import java.util.LinkedList; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.OneToMany; import javax.persistence.Table; @Entity @Table(name="us...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/entity/UserEntity.java", "license": "apache-2.0", "size": 1429}
### File: spring-boot-samples/src/main/java/com/lance/repository/BlogRepository.java package com.lance.repository; import org.springframework.data.jpa.repository.JpaRepository; import com.lance.entity.BlogEntity; public interface BlogRepository extends JpaRepository<BlogEntity, Long>{ }
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/repository/BlogRepository.java", "license": "apache-2.0", "size"...
### File: spring-boot-samples/src/main/java/com/lance/repository/NavigationRepository.java package com.lance.repository; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import com.lance.entity.NavigationEntity; public interface NavigationRepository extends JpaRepository<Navigati...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/repository/NavigationRepository.java", "license": "apache-2.0", ...
### File: spring-boot-samples/src/main/java/com/lance/repository/UserRepository.java package com.lance.repository; import org.springframework.data.jpa.repository.JpaRepository; import com.lance.entity.UserEntity; public interface UserRepository extends JpaRepository<UserEntity, Long>{ /** * 根据userName查询 * @au...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/repository/UserRepository.java", "license": "apache-2.0", "size"...
### File: spring-boot-samples/src/main/java/com/lance/service/LoginService.java package com.lance.service; import com.lance.entity.UserEntity; public interface LoginService { /** * 用户登录 * @author lance * 2014-6-11下午11:26:05 * @param user * @return */ UserEntity login(UserEntity user); }
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/service/LoginService.java", "license": "apache-2.0", "size": 237...
### File: spring-boot-samples/src/main/java/com/lance/service/LoginServiceImpl.java package com.lance.service; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.lance.entity.UserEntity; import com.lance...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/service/LoginServiceImpl.java", "license": "apache-2.0", "size":...
### File: spring-boot-samples/src/main/java/com/lance/service/NavigationService.java package com.lance.service; import java.util.List; import com.lance.entity.NavigationEntity; public interface NavigationService { /** * 根据type查询菜单 * @param type * @return */ List<NavigationEntity> findByType(int type); }
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/service/NavigationService.java", "license": "apache-2.0", "size"...
### File: spring-boot-samples/src/main/java/com/lance/service/NavigationServiceImpl.java package com.lance.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.lance.entity.BaseEntity; import com.lance.entity.Navigati...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/service/NavigationServiceImpl.java", "license": "apache-2.0", "s...
### File: spring-boot-samples/src/main/java/com/lance/service/UserService.java package com.lance.service; import java.util.List; import com.lance.entity.UserEntity; public interface UserService { /** * 查询所有的User对象 * @return */ List<UserEntity> findAll(); /** * save user * @param user */ void save(U...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/service/UserService.java", "license": "apache-2.0", "size": 275}
### File: spring-boot-samples/src/main/java/com/lance/service/UserServiceImpl.java package com.lance.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.lance.entity.AddressEntity; import com.lance.entity.UserEntity;...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/service/UserServiceImpl.java", "license": "apache-2.0", "size": ...
### File: spring-boot-samples/src/main/java/com/lance/utils/CurrentUserUtils.java package com.lance.utils; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org.springframework.web.context.request.RequestContextHolder; import org.springframework.web.context.request.ServletReq...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/utils/CurrentUserUtils.java", "license": "apache-2.0", "size": 1...
### File: spring-boot-samples/src/main/java/com/lance/utils/EncryptUtils.java package com.lance.utils; import java.math.BigInteger; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.PBEKe...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/utils/EncryptUtils.java", "license": "apache-2.0", "size": 5115}
### File: spring-boot-samples/src/main/java/com/lance/utils/ServiceException.java package com.lance.utils; /** * 处理service抛出运行时异常处理 * @author lance */ public class ServiceException extends RuntimeException { private static final long serialVersionUID = 1389958090308317369L; public ServiceException() { super();...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/utils/ServiceException.java", "license": "apache-2.0", "size": 4...
### File: spring-boot-samples/src/main/java/com/lance/web/HomeController.java package com.lance.web; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller @RequestMapping("/user/home/") public class HomeController { /** * 处理图片生成 * @return ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/web/HomeController.java", "license": "apache-2.0", "size": 590}
### File: spring-boot-samples/src/main/java/com/lance/web/IndexController.java package com.lance.web; import javax.servlet.http.HttpSession; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/web/IndexController.java", "license": "apache-2.0", "size": 1800...
### File: spring-boot-samples/src/main/java/com/lance/web/NavigationController.java package com.lance.web; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.s...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/web/NavigationController.java", "license": "apache-2.0", "size":...
### File: spring-boot-samples/src/main/java/com/lance/web/UserController.java package com.lance.web; import java.util.Date; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springf...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/java/com/lance/web/UserController.java", "license": "apache-2.0", "size": 1033}
### File: spring-boot-samples/src/main/resources/static/css/customer/home.css @CHARSET "UTF-8"; body { padding-top: 50px; } .nav-span{ display: block; padding-bottom: 15px; padding-top: 15px; line-height: 20px; color: #fff; } /* * Global add-ons */ .sub-header { padding-bottom: 10px; border-bot...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/resources/static/css/customer/home.css", "license": "apache-2.0", "size": 1718}
### File: spring-boot-samples/src/main/resources/static/css/customer/index.css @CHARSET "UTF-8"; body { margin: 0; font-family: "Varela Round", sans-serif; color: #34302d; background-color: #f1f1f1; } .navbar-fixed-top { border-width: 0; border-top: 4px solid #6db33f; z-index: 999; background-image: none; fi...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/resources/static/css/customer/index.css", "license": "apache-2.0", "size": 1819}
### File: spring-boot-samples/src/main/resources/static/css/customer/login.css @CHARSET "UTF-8"; body { padding-top: 150px; padding-bottom: 40px; background-color: #eee; } .form-signin { max-width: 330px; padding: 15px; margin: 0 auto; } .form-signin .form-signin-heading{ margin-bottom: 10px; } .form-si...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/resources/static/css/customer/login.css", "license": "apache-2.0", "size": 780}
### File: spring-boot-samples/src/main/resources/static/css/customer/user.css @CHARSET "utf-8"; .user-title{ line-height: 40px; font-weight: bold; } .user-addr-row{ padding: 5px; } .addr-group-border{ border-top: 1px solid #ccc; }
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/resources/static/css/customer/user.css", "license": "apache-2.0", "size": 156}
### File: spring-boot-samples/src/main/resources/static/css/plugins/zenburn.css /* Zenburn style from voldmar.ru (c) Vladimir Epifanov <voldmar@voldmar.ru> based on dark.css by Ivan Sagalaev */ .hljs { display: block; overflow-x: auto; padding: 0.5em; background: #3f3f3f; color: #dcdcdc; } .hljs-keyword, ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/resources/static/css/plugins/zenburn.css", "license": "apache-2.0", "size": 1854...
### File: spring-boot-samples/src/main/resources/static/js/customer/AddUser.js var AddUser = { init: function() { $('#home-left li').removeClass("active").eq(3).prop('class','active'); this.queryUser(); this.saveUser(); this.handlerAddress(); }, /** * query users */ queryUser: function() { ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/resources/static/js/customer/AddUser.js", "license": "apache-2.0", "size"...
### File: spring-boot-samples/src/main/resources/static/js/customer/img-holder.js var imgHolder = { init: function() { $('#home-left li').removeClass("active").eq(1).prop('class','active'); hljs.configure({tabReplace: ' '}); hljs.initHighlightingOnLoad(); } } $(function(){ imgHolder.init(); });
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/resources/static/js/customer/img-holder.js", "license": "apache-2.0", "si...
### File: spring-boot-samples/src/main/resources/static/js/plugins/holder.js /*! Holder - 2.3.2 - client side image placeholders (c) 2012-2014 Ivan Malopinsky / http://imsky.co Provided under the MIT License. Commercial use requires attribution. */ var Holder = Holder || {}; (function (app, win) { var system_config ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/resources/static/js/plugins/holder.js", "license": "apache-2.0", "size": ...
### File: spring-boot-samples/src/main/webapp/WEB-INF/views/login.jsp <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <!DOCTYPE html> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%> <html lang="zh-cn"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java Server Pages", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/webapp/WEB-INF/views/login.jsp", "license": "apache-2.0", "size": ...
### File: spring-boot-samples/src/main/webapp/WEB-INF/views/user/common/header.jsp <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!-- Fixed navbar --> <div class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <div class="container"> <div class="navbar-head...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java Server Pages", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/webapp/WEB-INF/views/user/common/header.jsp", "license": "apache-2...
### File: spring-boot-samples/src/main/webapp/WEB-INF/views/user/common/home-left.jsp <ul id="home-left" class="nav nav-sidebar"> <li><a href="/user/home" class="active">Home</a></li> <li><a href="/user/home/holder">Holder</a></li> <li><a href="/user/home/tmpl">jQuery.tmpl</a></li> <li><a href="/user/home/adduser">...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java Server Pages", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/webapp/WEB-INF/views/user/common/home-left.jsp", "license": "apach...
### File: spring-boot-samples/src/main/webapp/WEB-INF/views/user/customer/img-hoder.jsp <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" co...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java Server Pages", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/webapp/WEB-INF/views/user/customer/img-hoder.jsp", "license": "apa...
### File: spring-boot-samples/src/main/webapp/WEB-INF/views/user/customer/template.jsp <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" con...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java Server Pages", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/webapp/WEB-INF/views/user/customer/template.jsp", "license": "apac...
### File: spring-boot-samples/src/main/webapp/WEB-INF/views/user/customer/user-add.jsp <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" con...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java Server Pages", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/webapp/WEB-INF/views/user/customer/user-add.jsp", "license": "apac...
### File: spring-boot-samples/src/main/webapp/WEB-INF/views/user/home.jsp <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=de...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java Server Pages", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/webapp/WEB-INF/views/user/home.jsp", "license": "apache-2.0", "siz...
### File: spring-boot-samples/src/main/webapp/WEB-INF/views/user/index.jsp <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Insert title here</title> </head> <!-- CSS件 --> <lin...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java Server Pages", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-samples/src/main/webapp/WEB-INF/views/user/index.jsp", "license": "apache-2.0", "si...
### File: spring-boot-shiro-redis/src/main/java/com/lance/shiro/SimpleApplication.java package com.lance.shiro; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication @MapperScan("c...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/java/com/lance/shiro/SimpleApplication.java", "license": "apache-2.0", "siz...
### File: spring-boot-shiro-redis/src/main/java/com/lance/shiro/config/DruidConfig.java package com.lance.shiro.config; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import org.springframework.boot.context.embedded.FilterRegistrationBean; import org.springframework.boot.context.embedded.Ser...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/java/com/lance/shiro/config/DruidConfig.java", "license": "apache-2.0", "si...
### File: spring-boot-shiro-redis/src/main/java/com/lance/shiro/config/RedisConfig.java package com.lance.shiro.config; import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession; @EnableRedisHttpSession public class RedisConfig { }
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/java/com/lance/shiro/config/RedisConfig.java", "license": "apache-2.0", "si...
### File: spring-boot-shiro-redis/src/main/java/com/lance/shiro/config/ShiroConfig.java package com.lance.shiro.config; import java.util.Map; import javax.servlet.DispatcherType; import javax.servlet.Filter; import org.apache.shiro.spring.LifecycleBeanPostProcessor; import org.apache.shiro.spring.web.ShiroFilterFact...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/java/com/lance/shiro/config/ShiroConfig.java", "license": "apache-2.0", "si...
### File: spring-boot-shiro-redis/src/main/java/com/lance/shiro/config/ShrioRedisCache.java package com.lance.shiro.config; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Set; import org.apache.commons.collections.CollectionUtils; import ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/java/com/lance/shiro/config/ShrioRedisCache.java", "license": "apache-2.0",...
### File: spring-boot-shiro-redis/src/main/java/com/lance/shiro/config/ShrioRedisCacheManager.java package com.lance.shiro.config; import org.apache.shiro.cache.AbstractCacheManager; import org.apache.shiro.cache.Cache; import org.apache.shiro.cache.CacheException; import org.springframework.data.redis.core.RedisTempl...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/java/com/lance/shiro/config/ShrioRedisCacheManager.java", "license": "apach...
### File: spring-boot-shiro-redis/src/main/java/com/lance/shiro/config/URLPermissionsFilter.java package com.lance.shiro.config; import java.io.IOException; import java.util.List; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import org.apach...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/java/com/lance/shiro/config/URLPermissionsFilter.java", "license": "apache-...
### File: spring-boot-shiro-redis/src/main/java/com/lance/shiro/config/UserRealm.java package com.lance.shiro.config; import org.apache.shiro.authc.AuthenticationException; import org.apache.shiro.authc.AuthenticationInfo; import org.apache.shiro.authc.AuthenticationToken; import org.apache.shiro.authc.SimpleAuthentic...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/java/com/lance/shiro/config/UserRealm.java", "license": "apache-2.0", "size...
### File: spring-boot-shiro-redis/src/main/java/com/lance/shiro/domain/ModuleInfo.java package com.lance.shiro.domain; import java.io.Serializable; import java.util.Date; public class ModuleInfo implements Serializable{ private static final long serialVersionUID = -4297656027873404254L; /**路径*/ public static final...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/java/com/lance/shiro/domain/ModuleInfo.java", "license": "apache-2.0", "siz...
### File: spring-boot-shiro-redis/src/main/java/com/lance/shiro/domain/UserInfo.java package com.lance.shiro.domain; import java.io.Serializable; import java.util.Date; public class UserInfo implements Serializable { private static final long serialVersionUID = 730863452165463427L; private int id; private String ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/java/com/lance/shiro/domain/UserInfo.java", "license": "apache-2.0", "size"...
### File: spring-boot-shiro-redis/src/main/java/com/lance/shiro/mapper/ModuleMapper.java package com.lance.shiro.mapper; import java.util.List; import org.apache.ibatis.annotations.Select; import com.lance.shiro.domain.ModuleInfo; public interface ModuleMapper { /** * 获取该人的权限模块 * @param userId * @return *...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/java/com/lance/shiro/mapper/ModuleMapper.java", "license": "apache-2.0", "s...
### File: spring-boot-shiro-redis/src/main/java/com/lance/shiro/mapper/UserMapper.java package com.lance.shiro.mapper; import org.apache.ibatis.annotations.Select; import com.lance.shiro.domain.UserInfo; public interface UserMapper { @Select("select *from t_user where account=#{account}") UserInfo findByAccount(S...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/java/com/lance/shiro/mapper/UserMapper.java", "license": "apache-2.0", "siz...
### File: spring-boot-shiro-redis/src/main/java/com/lance/shiro/service/ModuleService.java package com.lance.shiro.service; import java.util.List; import com.lance.shiro.domain.ModuleInfo; public interface ModuleService { /** * 获取角色模块 * @param userId * @return */ List<ModuleInfo> findModuleByUserId(int use...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/java/com/lance/shiro/service/ModuleService.java", "license": "apache-2.0", ...
### File: spring-boot-shiro-redis/src/main/java/com/lance/shiro/service/ModuleServiceImpl.java package com.lance.shiro.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.lance.shiro.domain.ModuleInfo; import com.lan...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/java/com/lance/shiro/service/ModuleServiceImpl.java", "license": "apache-2....
### File: spring-boot-shiro-redis/src/main/java/com/lance/shiro/service/UserService.java package com.lance.shiro.service; import java.util.List; import java.util.Set; import com.lance.shiro.domain.UserInfo; public interface UserService { /** * 根据账号Account查询当前用户 * @param account * @return */ UserInfo find...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/java/com/lance/shiro/service/UserService.java", "license": "apache-2.0", "s...
### File: spring-boot-shiro-redis/src/main/java/com/lance/shiro/service/UserServiceImpl.java package com.lance.shiro.service; import java.util.List; import java.util.Set; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.google.common.collect.Lis...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/java/com/lance/shiro/service/UserServiceImpl.java", "license": "apache-2.0"...
### File: spring-boot-shiro-redis/src/main/java/com/lance/shiro/utils/SerializeUtils.java package com.lance.shiro.utils; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import org.apache.loggin...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/java/com/lance/shiro/utils/SerializeUtils.java", "license": "apache-2.0", "...
### File: spring-boot-shiro-redis/src/main/java/com/lance/shiro/web/IndexController.java package com.lance.shiro.web; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class IndexController { /** * Go Index * @return */ @Reques...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/java/com/lance/shiro/web/IndexController.java", "license": "apache-2.0", "s...
### File: spring-boot-shiro-redis/src/main/java/com/lance/shiro/web/LoginController.java package com.lance.shiro.web; import javax.servlet.http.HttpServletRequest; import org.apache.shiro.SecurityUtils; import org.apache.shiro.authc.AuthenticationException; import org.apache.shiro.authc.UsernamePasswordToken; import ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/java/com/lance/shiro/web/LoginController.java", "license": "apache-2.0", "s...
### File: spring-boot-shiro-redis/src/main/resources/static/css/dashboard.css @CHARSET "UTF-8"; /* * Base structure */ /* Move down content because we have a fixed navbar that is 50px tall */ body { padding-top: 50px; } /* * Global add-ons */ .sub-header { padding-bottom: 10px; border-bottom: 1px solid #e...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/resources/static/css/dashboard.css", "license": "apache-2.0", "size": 1574}
### File: spring-boot-shiro-redis/src/main/webapp/WEB-INF/views/index.jsp <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %> <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv=...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java Server Pages", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/webapp/WEB-INF/views/index.jsp", "license": "apache-2.0", "siz...
### File: spring-boot-shiro-redis/src/main/webapp/WEB-INF/views/login.jsp <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=d...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java Server Pages", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/webapp/WEB-INF/views/login.jsp", "license": "apache-2.0", "siz...
### File: spring-boot-shiro-redis/src/main/webapp/WEB-INF/views/reports.jsp <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %> <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equi...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java Server Pages", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/webapp/WEB-INF/views/reports.jsp", "license": "apache-2.0", "s...
### File: spring-boot-shiro-redis/src/main/webapp/WEB-INF/views/unauthor.jsp <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java Server Pages", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/webapp/WEB-INF/views/unauthor.jsp", "license": "apache-2.0", "...
### File: spring-boot-shiro-redis/src/main/webapp/index.jsp <html> <body> <h2>Hello World!</h2> </body> </html>
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java Server Pages", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro-redis/src/main/webapp/index.jsp", "license": "apache-2.0", "size": 52}
### File: spring-boot-shiro/src/main/java/com/lance/shiro/SimpleApplication.java package com.lance.shiro; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication @MapperScan("com.lan...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro/src/main/java/com/lance/shiro/SimpleApplication.java", "license": "apache-2.0", "size": 39...
### File: spring-boot-shiro/src/main/java/com/lance/shiro/config/DruidConfig.java package com.lance.shiro.config; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import org.springframework.boot.context.embedded.FilterRegistrationBean; import org.springframework.boot.context.embedded.ServletRe...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro/src/main/java/com/lance/shiro/config/DruidConfig.java", "license": "apache-2.0", "size": 1...
### File: spring-boot-shiro/src/main/java/com/lance/shiro/config/ShiroConfig.java package com.lance.shiro.config; import java.util.Map; import javax.servlet.DispatcherType; import javax.servlet.Filter; import org.apache.shiro.cache.ehcache.EhCacheManager; import org.apache.shiro.spring.LifecycleBeanPostProcessor; im...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro/src/main/java/com/lance/shiro/config/ShiroConfig.java", "license": "apache-2.0", "size": 3...
### File: spring-boot-shiro/src/main/java/com/lance/shiro/config/URLPermissionsFilter.java package com.lance.shiro.config; import java.io.IOException; import java.util.List; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import org.apache.comm...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro/src/main/java/com/lance/shiro/config/URLPermissionsFilter.java", "license": "apache-2.0", ...
### File: spring-boot-shiro/src/main/java/com/lance/shiro/config/UserRealm.java package com.lance.shiro.config; import org.apache.shiro.authc.AuthenticationException; import org.apache.shiro.authc.AuthenticationInfo; import org.apache.shiro.authc.AuthenticationToken; import org.apache.shiro.authc.SimpleAuthenticationI...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro/src/main/java/com/lance/shiro/config/UserRealm.java", "license": "apache-2.0", "size": 205...
### File: spring-boot-shiro/src/main/java/com/lance/shiro/domain/ModuleInfo.java package com.lance.shiro.domain; import java.io.Serializable; import java.util.Date; public class ModuleInfo implements Serializable{ private static final long serialVersionUID = -4297656027873404254L; /**路径*/ public static final int U...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro/src/main/java/com/lance/shiro/domain/ModuleInfo.java", "license": "apache-2.0", "size": 12...
### File: spring-boot-shiro/src/main/java/com/lance/shiro/domain/UserInfo.java package com.lance.shiro.domain; import java.io.Serializable; import java.util.Date; public class UserInfo implements Serializable { private static final long serialVersionUID = 730863452165463427L; private int id; private String accoun...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro/src/main/java/com/lance/shiro/domain/UserInfo.java", "license": "apache-2.0", "size": 897}
### File: spring-boot-shiro/src/main/java/com/lance/shiro/mapper/ModuleMapper.java package com.lance.shiro.mapper; import java.util.List; import org.apache.ibatis.annotations.Select; import com.lance.shiro.domain.ModuleInfo; public interface ModuleMapper { /** * 获取该人的权限模块 * @param userId * @return */ @Se...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro/src/main/java/com/lance/shiro/mapper/ModuleMapper.java", "license": "apache-2.0", "size": ...
### File: spring-boot-shiro/src/main/java/com/lance/shiro/mapper/UserMapper.java package com.lance.shiro.mapper; import org.apache.ibatis.annotations.Select; import com.lance.shiro.domain.UserInfo; public interface UserMapper { @Select("select *from t_user where account=#{account}") UserInfo findByAccount(String ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro/src/main/java/com/lance/shiro/mapper/UserMapper.java", "license": "apache-2.0", "size": 25...
### File: spring-boot-shiro/src/main/java/com/lance/shiro/service/ModuleService.java package com.lance.shiro.service; import java.util.List; import com.lance.shiro.domain.ModuleInfo; public interface ModuleService { /** * 获取角色模块 * @param userId * @return */ List<ModuleInfo> findModuleByUserId(int userId); ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro/src/main/java/com/lance/shiro/service/ModuleService.java", "license": "apache-2.0", "size"...
### File: spring-boot-shiro/src/main/java/com/lance/shiro/service/ModuleServiceImpl.java package com.lance.shiro.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.lance.shiro.domain.ModuleInfo; import com.lance.shi...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro/src/main/java/com/lance/shiro/service/ModuleServiceImpl.java", "license": "apache-2.0", "s...
### File: spring-boot-shiro/src/main/java/com/lance/shiro/service/UserService.java package com.lance.shiro.service; import java.util.List; import java.util.Set; import com.lance.shiro.domain.UserInfo; public interface UserService { /** * 根据账号Account查询当前用户 * @param account * @return */ UserInfo findByAcco...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro/src/main/java/com/lance/shiro/service/UserService.java", "license": "apache-2.0", "size": ...
### File: spring-boot-shiro/src/main/java/com/lance/shiro/service/UserServiceImpl.java package com.lance.shiro.service; import java.util.List; import java.util.Set; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.google.common.collect.Lists; im...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro/src/main/java/com/lance/shiro/service/UserServiceImpl.java", "license": "apache-2.0", "siz...
### File: spring-boot-shiro/src/main/java/com/lance/shiro/web/IndexController.java package com.lance.shiro.web; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class IndexController { /** * Go Index * @return */ @RequestMappi...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro/src/main/java/com/lance/shiro/web/IndexController.java", "license": "apache-2.0", "size": ...
### File: spring-boot-shiro/src/main/java/com/lance/shiro/web/LoginController.java package com.lance.shiro.web; import javax.servlet.http.HttpServletRequest; import org.apache.shiro.SecurityUtils; import org.apache.shiro.authc.AuthenticationException; import org.apache.shiro.authc.UsernamePasswordToken; import org.ap...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro/src/main/java/com/lance/shiro/web/LoginController.java", "license": "apache-2.0", "size": ...
### File: spring-boot-shiro/src/main/resources/static/css/dashboard.css @CHARSET "UTF-8"; /* * Base structure */ /* Move down content because we have a fixed navbar that is 50px tall */ body { padding-top: 50px; } /* * Global add-ons */ .sub-header { padding-bottom: 10px; border-bottom: 1px solid #eee; } ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro/src/main/resources/static/css/dashboard.css", "license": "apache-2.0", "size": 1574}
### File: spring-boot-shiro/src/main/webapp/WEB-INF/views/index.jsp <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %> <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java Server Pages", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro/src/main/webapp/WEB-INF/views/index.jsp", "license": "apache-2.0", "size": 92...
### File: spring-boot-shiro/src/main/webapp/WEB-INF/views/login.jsp <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java Server Pages", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro/src/main/webapp/WEB-INF/views/login.jsp", "license": "apache-2.0", "size": 25...
### File: spring-boot-shiro/src/main/webapp/WEB-INF/views/reports.jsp <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %> <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-U...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java Server Pages", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro/src/main/webapp/WEB-INF/views/reports.jsp", "license": "apache-2.0", "size": ...
### File: spring-boot-shiro/src/main/webapp/WEB-INF/views/unauthor.jsp <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" conten...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java Server Pages", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro/src/main/webapp/WEB-INF/views/unauthor.jsp", "license": "apache-2.0", "size":...
### File: spring-boot-shiro/src/main/webapp/index.jsp <html> <body> <h2>Hello World!</h2> </body> </html>
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java Server Pages", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-shiro/src/main/webapp/index.jsp", "license": "apache-2.0", "size": 52}
### File: spring-boot-sitemesh/src/main/java/com/lance/sitemesh/SimpleApplication.java package com.lance.sitemesh; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class SimpleApplication { public static void main(S...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-sitemesh/src/main/java/com/lance/sitemesh/SimpleApplication.java", "license": "apache-2.0", "siz...
### File: spring-boot-sitemesh/src/main/java/com/lance/sitemesh/common/WebConfig.java package com.lance.sitemesh.common; import org.springframework.boot.context.embedded.FilterRegistrationBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.s...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-sitemesh/src/main/java/com/lance/sitemesh/common/WebConfig.java", "license": "apache-2.0", "size...
### File: spring-boot-sitemesh/src/main/java/com/lance/sitemesh/common/WebSiteMeshFilter.java package com.lance.sitemesh.common; import org.sitemesh.builder.SiteMeshFilterBuilder; import org.sitemesh.config.ConfigurableSiteMeshFilter; /** * 配置装饰器 * @author lance */ public class WebSiteMeshFilter extends Configurab...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-sitemesh/src/main/java/com/lance/sitemesh/common/WebSiteMeshFilter.java", "license": "apache-2.0...
### File: spring-boot-sitemesh/src/main/java/com/lance/sitemesh/web/IndexController.java package com.lance.sitemesh.web; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller @RequestMapping("/admin/") public class IndexController { @RequestMapp...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-sitemesh/src/main/java/com/lance/sitemesh/web/IndexController.java", "license": "apache-2.0", "s...
### File: spring-boot-sitemesh/src/main/resources/static/plugin/commons.js /** * 扩展easyui的validator插件rules,支持更多类型验证 */ $.extend($.fn.validatebox.defaults.rules,{ // 判断最小长度 minLength : { validator : function(value, param) { return value.length >= param[0]; }, message : '最少输入 {0} 个字符' }, length: {// 长度 ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-sitemesh/src/main/resources/static/plugin/commons.js", "license": "apache-2.0", "size": 77...
### File: spring-boot-sitemesh/src/main/resources/static/plugin/locale/easyui-lang-zh_CN.js if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = '第'; $.fn.pagination.defaults.afterPageText = '共{pages}页'; $.fn.pagination.defaults.displayMsg = '显示{from}到{to},共{total}记录'; } if ($.fn.datagrid){ $.fn.datagrid...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-sitemesh/src/main/resources/static/plugin/locale/easyui-lang-zh_CN.js", "license": "apache...
### File: spring-boot-sitemesh/src/main/resources/static/plugin/plugins/jquery.accordion.js /** * jQuery EasyUI 1.5 * * Copyright (c) 2009-2016 www.jeasyui.com. All rights reserved. * * Licensed under the freeware license: http://www.jeasyui.com/license_freeware.php * To use it on other terms please contact us:...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-sitemesh/src/main/resources/static/plugin/plugins/jquery.accordion.js", "license": "apache...
### File: spring-boot-sitemesh/src/main/resources/static/plugin/plugins/jquery.calendar.js /** * jQuery EasyUI 1.5 * * Copyright (c) 2009-2016 www.jeasyui.com. All rights reserved. * * Licensed under the freeware license: http://www.jeasyui.com/license_freeware.php * To use it on other terms please contact us: ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-sitemesh/src/main/resources/static/plugin/plugins/jquery.calendar.js", "license": "apache-...
### File: spring-boot-sitemesh/src/main/resources/static/plugin/plugins/jquery.combo.js /** * jQuery EasyUI 1.5 * * Copyright (c) 2009-2016 www.jeasyui.com. All rights reserved. * * Licensed under the freeware license: http://www.jeasyui.com/license_freeware.php * To use it on other terms please contact us: inf...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-sitemesh/src/main/resources/static/plugin/plugins/jquery.combo.js", "license": "apache-2.0...
### File: spring-boot-sitemesh/src/main/resources/static/plugin/plugins/jquery.combobox.js /** * jQuery EasyUI 1.5 * * Copyright (c) 2009-2016 www.jeasyui.com. All rights reserved. * * Licensed under the freeware license: http://www.jeasyui.com/license_freeware.php * To use it on other terms please contact us: ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_lee/spring-boot-all", "path": "spring-boot-sitemesh/src/main/resources/static/plugin/plugins/jquery.combobox.js", "license": "apache-...