# spring-security **Repository Path**: ssssllll/spring-security ## Basic Information - **Project Name**: spring-security - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-01-26 - **Last Updated**: 2021-08-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README //获取token `http://localhost:8080/oauth/authorize?client_id=client&response_type=code` 默认密码admin admin 通过id查询出所有权限 ```sql SELECT p.* FROM tb_user as u LEFT JOIN tb_user_role as ur ON u.id = ur.user_id LEFT JOIN tb_role as r ON r.id = ur.role_id LEFT JOIN tb_role_permission as rp on r.id = rp.role_id LEFT JOIN tb_permission as p on p.id = rp.permission_id WHERE u.id = 37 ```