'Deprecated: KeyStoreKeyFactory is Deprecated
Since security.oauth2 is deprecated, what can be used to generate a KeyPair from .jks file instead of KeyStoreKeyFactory?
Solution 1:[1]
I believe You can use the other dependency
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-rsa</artifactId>
<version>1.0.11.RELEASE</version>
</dependency>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Alex Mukonin |