更改版本为2.1.2;为认证类添加扩展属性字段。
This commit is contained in:
parent
bf0ecbb873
commit
1e71b5024a
|
@ -7,11 +7,11 @@
|
|||
<parent>
|
||||
<groupId>com.diboot</groupId>
|
||||
<artifactId>diboot-root</artifactId>
|
||||
<version>2.1.1</version>
|
||||
<version>2.1.2</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>diboot-core-spring-boot-starter</artifactId>
|
||||
<version>2.1.1</version>
|
||||
<version>2.1.2</version>
|
||||
<packaging>jar</packaging>
|
||||
<description>diboot core starter project</description>
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
|||
<dependency>
|
||||
<groupId>com.diboot</groupId>
|
||||
<artifactId>diboot-core</artifactId>
|
||||
<version>2.1.1</version>
|
||||
<version>2.1.2</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
<parent>
|
||||
<groupId>com.diboot</groupId>
|
||||
<artifactId>diboot-root</artifactId>
|
||||
<version>2.1.1</version>
|
||||
<version>2.1.2</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>diboot-core</artifactId>
|
||||
<version>2.1.1</version>
|
||||
<version>2.1.2</version>
|
||||
<packaging>jar</packaging>
|
||||
<description>diboot core project</description>
|
||||
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
<parent>
|
||||
<artifactId>diboot-root</artifactId>
|
||||
<groupId>com.diboot</groupId>
|
||||
<version>2.1.1</version>
|
||||
<version>2.1.2</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>diboot-file-spring-boot-starter</artifactId>
|
||||
<version>2.1.1</version>
|
||||
<version>2.1.2</version>
|
||||
<packaging>jar</packaging>
|
||||
<description>diboot file component project</description>
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
|||
<dependency>
|
||||
<groupId>com.diboot</groupId>
|
||||
<artifactId>diboot-core-spring-boot-starter</artifactId>
|
||||
<version>2.1.1</version>
|
||||
<version>2.1.2</version>
|
||||
</dependency>
|
||||
|
||||
<!-- 文件上传 -->
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
<parent>
|
||||
<groupId>com.diboot</groupId>
|
||||
<artifactId>diboot-root</artifactId>
|
||||
<version>2.1.1</version>
|
||||
<version>2.1.2</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>diboot-iam-base-spring-boot-starter</artifactId>
|
||||
<version>2.1.1</version>
|
||||
<version>2.1.2</version>
|
||||
<packaging>jar</packaging>
|
||||
<description>diboot IAM base project</description>
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
|||
<dependency>
|
||||
<groupId>com.diboot</groupId>
|
||||
<artifactId>diboot-core-spring-boot-starter</artifactId>
|
||||
<version>2.1.1</version>
|
||||
<version>2.1.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.squareup.okhttp3</groupId>
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
*/
|
||||
package com.diboot.iam.jwt;
|
||||
|
||||
import com.diboot.core.vo.KeyValue;
|
||||
import com.diboot.iam.config.Cons;
|
||||
import com.diboot.iam.entity.IamUser;
|
||||
import com.diboot.iam.util.JwtUtils;
|
||||
|
@ -55,6 +56,11 @@ public class BaseJwtAuthToken implements RememberMeAuthenticationToken {
|
|||
*/
|
||||
private boolean rememberMe;
|
||||
|
||||
/**
|
||||
* 扩展属性
|
||||
*/
|
||||
private KeyValue extObj;
|
||||
|
||||
/**authz token*/
|
||||
private String authtoken;
|
||||
|
||||
|
@ -96,6 +102,8 @@ public class BaseJwtAuthToken implements RememberMeAuthenticationToken {
|
|||
return userTypeClass.getSimpleName();
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 生成token
|
||||
* @param expiresInMinutes
|
||||
|
|
Loading…
Reference in New Issue