Class TokenCompressionProperties
java.lang.Object
com.broadleafcommerce.oauth2.resource.security.token.converter.TokenCompressionProperties
@ConfigurationProperties(prefix="broadleaf.oauth2.resource.security.token.compression")
public class TokenCompressionProperties
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()booleanWhether to compress the restricted authorities claim in the JWT.voidsetEnabled(boolean enabled) Whether to compress the restricted authorities claim in the JWT.toString()
-
Constructor Details
-
TokenCompressionProperties
public TokenCompressionProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Whether to compress the restricted authorities claim in the JWT. Drives the execution of both compression and decompression. Defaults to true. -
setEnabled
public void setEnabled(boolean enabled) Whether to compress the restricted authorities claim in the JWT. Drives the execution of both compression and decompression. Defaults to true. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-