Class SecureToken

java.lang.Object
com.atlassian.bamboo.security.SecureToken
All Implemented Interfaces:
Serializable

public final class SecureToken extends Object implements Serializable
Represents a secure token string
See Also:
  • Method Details

    • create

      @NotNull public static @NotNull SecureToken create()
      Creates a new SecureToken
      Returns:
      secureToken
    • createFromString

      @NotNull public static @NotNull SecureToken createFromString(@NotNull @NotNull String s)
      Creates a new SecureToken from a String
      Parameters:
      s -
      Returns:
      secureToken
    • getToken

      @NotNull public @NotNull String getToken()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object