Home > Back-end >  Shiro error in asking bosses give advice or comments
Shiro error in asking bosses give advice or comments

Time:09-22

Error message:
[- portal] [the 2020-05-28 10:18:44 353] WARN. [catalina - exec - 31] DefaultSecurityManager getRememberedIdentity (609) | Delegate RememberMeManager instance of type [. Org. Apache shiro. Web. MGT. CookieRememberMeManager] threw an exception during getRememberedPrincipals ().
Org, apache shiro. Crypto. CryptoException: Unable to execute 'doFinal with cipher instance [javax.mail. Crypto. Cipher @ 1 e31fed2].
The at org, apache shiro. Crypto. JcaCipherService. Crypt (JcaCipherService. Java: 462)
The at org, apache shiro. Crypto. JcaCipherService. Crypt (JcaCipherService. Java: 445)
The at org, apache shiro. Crypto. JcaCipherService. Decrypt (JcaCipherService. Java: 390)
The at org, apache shiro. Crypto. JcaCipherService. Decrypt (JcaCipherService. Java: 382)
The at org, apache shiro. MGT. AbstractRememberMeManager. Decrypt (AbstractRememberMeManager. Java: 479)
The at org, apache shiro. MGT. AbstractRememberMeManager. ConvertBytesToPrincipals (AbstractRememberMeManager. Java: 419)
The at org, apache shiro. MGT. AbstractRememberMeManager. GetRememberedPrincipals (AbstractRememberMeManager. Java: 386)
The at org, apache shiro. MGT. DefaultSecurityManager. GetRememberedIdentity (DefaultSecurityManager. Java: 604)
The at org, apache shiro. MGT. DefaultSecurityManager. ResolvePrincipals (DefaultSecurityManager. Java: 492)
The at org, apache shiro. MGT. DefaultSecurityManager. CreateSubject (DefaultSecurityManager. Java: 342)
At org, apache shiro. Subject. The subject $Builder. BuildSubject (846) subject. Java:
The at org, apache shiro. Web. Subject. WebSubject $Builder. BuildWebSubject (WebSubject. Java: 148)
The at org, apache shiro. Web. Servlet. AbstractShiroFilter. CreateSubject (AbstractShiroFilter. Java: 292)
The at org, apache shiro. Web. Servlet. AbstractShiroFilter. DoFilterInternal (AbstractShiroFilter. Java: 359)
The at org, apache shiro. Web. Servlet. OncePerRequestFilter. DoFilter (OncePerRequestFilter. Java: 125)
The at org. Springframework. Web. Filter. DelegatingFilterProxy. InvokeDelegate (DelegatingFilterProxy. Java: 347)
The at org. Springframework. Web. Filter. DelegatingFilterProxy. DoFilter (DelegatingFilterProxy. Java: 263)
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 193)
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 166)
At com. Alibaba. Druid. Support. HTTP. WebStatFilter. DoFilter (WebStatFilter. Java: 123)
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 193)
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 166)
The at org. Springframework. Web. Filter. CharacterEncodingFilter. DoFilterInternal (CharacterEncodingFilter. Java: 197)
The at org. Springframework. Web. Filter. OncePerRequestFilter. DoFilter (OncePerRequestFilter. Java: 107)
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 193)
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 166)
The at org. Apache. Catalina. Core. StandardWrapperValve. Invoke (StandardWrapperValve. Java: 199)
The at org. Apache. Catalina. Core. StandardContextValve. Invoke (StandardContextValve. Java: 96)
The at org. Apache. Catalina. The authenticator. AuthenticatorBase. Invoke (AuthenticatorBase. Java: 543)
The at org. Apache. Catalina. Core. StandardHostValve. Invoke (StandardHostValve. Java: 139)
The at org. Apache. Catalina. Valves. ErrorReportValve. Invoke (ErrorReportValve. Java: 81)
The at org. Apache. Catalina. Valves. AbstractAccessLogValve. Invoke (AbstractAccessLogValve. Java: 688)
The at org. Apache. Catalina. Core. StandardEngineValve. Invoke (StandardEngineValve. Java: 87)
At org. Apache. Catalina. Connector. CoyoteAdapter. Service (343) CoyoteAdapter. Java:
At org. Apache. Coyote. Http11. Http11Processor. Service (609) Http11Processor. Java:
The at org. Apache. Coyote. AbstractProcessorLight. Process (AbstractProcessorLight. Java: 65)
The at org. Apache. Coyote. AbstractProtocol $ConnectionHandler. Process (AbstractProtocol. Java: 818)
At org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun NioEndpoint. Java: (1623)
The at org.apache.tomcat.util.net.SocketProcessorBase.run (SocketProcessorBase. Java: 49)
The at Java. Util. Concurrent. ThreadPoolExecutor. RunWorker (ThreadPoolExecutor. Java: 1142)
The at Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (ThreadPoolExecutor. Java: 617)
At org, apache tomcat. Util. Threads. TaskThread $WrappingRunnable. Run (61) TaskThread. Java:
The at Java. Lang. Thread. The run (Thread. Java: 745)
Under Caused by: javax.mail. Crypto. BadPaddingException: Given the final block not properly padded
At com. Sun. Crypto. Provider. CipherCore. DoFinal (CipherCore. Java: 966)
At com. Sun. Crypto. Provider. CipherCore. DoFinal (CipherCore. Java: 824)
At com. Sun. Crypto. Provider. AESCipher. EngineDoFinal (AESCipher. Java: 436)
The at javax.mail. Crypto. Cipher. DoFinal (Cipher. Java: 2165)
The at org, apache shiro. Crypto. JcaCipherService. Crypt (JcaCipherService. Java: 459)
. 42 more




The XML configuration is as follows:
<? The XML version="1.0" encoding="utf-8"?>
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related