[ 
https://issues.apache.org/jira/browse/SHIRO-730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17073934#comment-17073934
 ] 

Brian Demers commented on SHIRO-730:
------------------------------------

[~rivanov] It depends on how you are configuring Shiro.

If you are using an INI format:
It would look something like this: 
https://shiro.apache.org/configuration.html#byte-array-values
{code}
securityManager.rememberMeManager.cipherService.mode = GCM
securityManager.rememberMeManager.cipherService.streamingMode = GCM
securityManager.rememberMeManager.cipherService.paddingScheme = NONE
{code}

NOTE: this is mostly from memory, and untested, so there might be a typo in 
there

> Updates the default Cipher mode to GCM in AesCipherService
> ----------------------------------------------------------
>
>                 Key: SHIRO-730
>                 URL: https://issues.apache.org/jira/browse/SHIRO-730
>             Project: Shiro
>          Issue Type: Improvement
>            Reporter: Francois Papon
>            Priority: Major
>             Fix For: 1.4.2, 1.5.0
>
>         Attachments: ShiroUpgradeTest.java
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to