public class ImageAttachmentJwtSecretKeyServiceImpl extends Object implements ImageAttachmentJwtSecretKeyService
Modifier and Type | Field and Description |
---|---|
protected static String |
LOCK_NAME |
protected static int |
REQUIRED_MIN_SECRET_LENGTH_BYTES |
Constructor and Description |
---|
ImageAttachmentJwtSecretKeyServiceImpl(ApplicationProperties applicationProperties,
com.atlassian.beehive.ClusterLockService clusterLockService) |
Modifier and Type | Method and Description |
---|---|
byte[] |
generateOrGetSecretKey() |
protected static final String LOCK_NAME
protected static final int REQUIRED_MIN_SECRET_LENGTH_BYTES
public ImageAttachmentJwtSecretKeyServiceImpl(ApplicationProperties applicationProperties, com.atlassian.beehive.ClusterLockService clusterLockService)
public byte[] generateOrGetSecretKey() throws ImageAttachmentJwtGenerateSecretException
generateOrGetSecretKey
in interface ImageAttachmentJwtSecretKeyService
ImageAttachmentJwtGenerateSecretException
Copyright © 2002-2022 Atlassian. All Rights Reserved.