mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-15 17:56:17 +01:00
added missing deprecated annotations
This commit is contained in:
@@ -41,6 +41,11 @@ package sonia.scm.security;
|
||||
public class CipherException extends RuntimeException
|
||||
{
|
||||
|
||||
/** Field description */
|
||||
private static final long serialVersionUID = -310359939906084281L;
|
||||
|
||||
//~--- constructors ---------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Constructs ...
|
||||
*
|
||||
|
||||
@@ -43,6 +43,7 @@ import org.apache.shiro.crypto.hash.SimpleHash;
|
||||
* @since 1.13
|
||||
* @deprecated use {@link SimpleHash} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public interface HashBuilder
|
||||
{
|
||||
|
||||
|
||||
@@ -43,6 +43,7 @@ import org.apache.shiro.crypto.hash.Md5Hash;
|
||||
* @since 1.13
|
||||
* @deprecated use {@link Md5Hash} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public class MD5HashBuilder extends MessageDigestHashBuilder
|
||||
{
|
||||
|
||||
|
||||
@@ -30,10 +30,13 @@
|
||||
*/
|
||||
|
||||
|
||||
|
||||
package sonia.scm.security;
|
||||
|
||||
//~--- non-JDK imports --------------------------------------------------------
|
||||
|
||||
import org.apache.shiro.crypto.hash.SimpleHash;
|
||||
|
||||
import sonia.scm.util.Util;
|
||||
|
||||
//~--- JDK imports ------------------------------------------------------------
|
||||
@@ -46,7 +49,6 @@ import java.security.SecureRandom;
|
||||
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
import org.apache.shiro.crypto.hash.SimpleHash;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -54,6 +56,7 @@ import org.apache.shiro.crypto.hash.SimpleHash;
|
||||
* @since 1.13
|
||||
* @deprecated use {@link SimpleHash} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public class MessageDigestHashBuilder implements HashBuilder
|
||||
{
|
||||
|
||||
@@ -83,8 +86,7 @@ public class MessageDigestHashBuilder implements HashBuilder
|
||||
* @param enableLabel
|
||||
*/
|
||||
public MessageDigestHashBuilder(String digest, String value, byte[] salt,
|
||||
int iterations, boolean appendSalt,
|
||||
boolean enableLabel)
|
||||
int iterations, boolean appendSalt, boolean enableLabel)
|
||||
{
|
||||
this.digest = digest;
|
||||
this.value = value;
|
||||
|
||||
@@ -43,6 +43,7 @@ import org.apache.shiro.crypto.hash.Sha1Hash;
|
||||
* @since 1.13
|
||||
* @deprecated use {@link Sha1Hash} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public class SHA1HashBuilder extends MessageDigestHashBuilder
|
||||
{
|
||||
|
||||
|
||||
@@ -43,6 +43,7 @@ import org.apache.shiro.crypto.hash.Sha512Hash;
|
||||
* @since 1.13
|
||||
* @deprecated use {@link Sha512Hash} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public class SHA512HashBuilder extends MessageDigestHashBuilder
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user