YOUKOL::shiro-support-parent

A simple Shiro extension library.

License

License

GroupId

GroupId

com.youkol.support.shiro
ArtifactId

ArtifactId

shiro-support-parent
Last Version

Last Version

1.0.11
Release Date

Release Date

Type

Type

pom
Description

Description

YOUKOL::shiro-support-parent
A simple Shiro extension library.
Project URL

Project URL

https://github.com/youkol/shiro-support
Project Organization

Project Organization

youkol.com
Source Code Management

Source Code Management

https://github.com/youkol/shiro-support

Download shiro-support-parent

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • shiro-support
  • shiro-support-spring-boot-starter

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