Package com.atlassian.bamboo.security
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:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull SecureToken
create()
Creates a newSecureToken
static @NotNull SecureToken
createFromString(@NotNull String s)
Creates a newSecureToken
from aString
boolean
equals(Object o)
@NotNull String
getToken()
int
hashCode()
-
-
-
Method Detail
-
create
@NotNull public static @NotNull SecureToken create()
Creates a newSecureToken
- Returns:
- secureToken
-
createFromString
@NotNull public static @NotNull SecureToken createFromString(@NotNull @NotNull String s)
Creates a newSecureToken
from aString
- Parameters:
s
-- Returns:
- secureToken
-
getToken
@NotNull public @NotNull String getToken()
-
-