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