YOUKOL::shiro-support-spring-boot-starter

A simple Shiro extension library.

License

License

Categories

Categories

Spring Boot Container Microservices
GroupId

GroupId

com.youkol.support.shiro
ArtifactId

ArtifactId

shiro-support-spring-boot-starter
Last Version

Last Version

1.0.11
Release Date

Release Date

Type

Type

jar
Description

Description

YOUKOL::shiro-support-spring-boot-starter
A simple Shiro extension library.
Project Organization

Project Organization

youkol.com

Download shiro-support-spring-boot-starter

How to add to project

<!-- https://jarcasting.com/artifacts/com.youkol.support.shiro/shiro-support-spring-boot-starter/ -->
<dependency>
    <groupId>com.youkol.support.shiro</groupId>
    <artifactId>shiro-support-spring-boot-starter</artifactId>
    <version>1.0.11</version>
</dependency>
// https://jarcasting.com/artifacts/com.youkol.support.shiro/shiro-support-spring-boot-starter/
implementation 'com.youkol.support.shiro:shiro-support-spring-boot-starter:1.0.11'
// https://jarcasting.com/artifacts/com.youkol.support.shiro/shiro-support-spring-boot-starter/
implementation ("com.youkol.support.shiro:shiro-support-spring-boot-starter:1.0.11")
'com.youkol.support.shiro:shiro-support-spring-boot-starter:jar:1.0.11'
<dependency org="com.youkol.support.shiro" name="shiro-support-spring-boot-starter" rev="1.0.11">
  <artifact name="shiro-support-spring-boot-starter" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.youkol.support.shiro', module='shiro-support-spring-boot-starter', version='1.0.11')
)
libraryDependencies += "com.youkol.support.shiro" % "shiro-support-spring-boot-starter" % "1.0.11"
[com.youkol.support.shiro/shiro-support-spring-boot-starter "1.0.11"]

Dependencies

compile (6)

Group / Artifact Type Version
com.youkol.support.shiro : shiro-support jar 1.0.11
com.nimbusds : nimbus-jose-jwt Optional jar 8.8
org.apache.shiro : shiro-spring-boot-web-starter Optional jar 1.5.3
org.springframework.boot : spring-boot-autoconfigure Optional jar
org.springframework.boot : spring-boot-configuration-processor Optional jar
org.springframework.boot : spring-boot-autoconfigure-processor Optional jar

Project Modules

There are no modules declared in this project.

shiro-support

Maven Central Sonatype Nexus (Snapshots) License

A simple Shiro extension library.

1. Add Supports

  • Spring cache-based implementations of Shiro's cache interfaces.
  • A simple username/password/captcha authentication token to support the most widely-used authentication mechanism.
  • Add JWT Support
  • Custom implementation inherited ModularRealmAuthenticator, and store the last AuthenticationException for multi realm. Fix when use multi realm, lost the AuthenticationException info.

2. Usage

<dependencies>
  ...
  <dependency>
    <groupId>com.youkol.support.shiro</groupId>
    <artifactId>shiro-support</artifactId>
    <version>${shiro-support.version}</version>
  </dependency>
  ...
</dependencies>

For spring boot autoconfigure

<dependencies>
  ...
  <!-- Import the nimbus can auto configuration JwtTokenService bean  -->
  <dependency>
    <groupId>com.nimbusds</groupId>
    <artifactId>nimbus-jose-jwt</artifactId>
    <version>${nimbus-jose-jwt.version}</version>
  </dependency>
  <dependency>
    <groupId>com.youkol.support.shiro</groupId>
    <artifactId>shiro-support-spring-boot-starter</artifactId>
    <version>${shiro-support.version}</version>
  </dependency>
  ...
</dependencies>
com.youkol.support.shiro

Versions

Version
1.0.11
1.0.10
1.0.9