com.atlassian.bamboo.security
Class SecureToken

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

public final class SecureToken
extends java.lang.Object
implements java.io.Serializable

Represents a secure token string

See Also:
Serialized Form

Method Summary
static SecureToken create()
          Creates a new SecureToken
static SecureToken createFromString(java.lang.String s)
          Creates a new SecureToken from a String
 boolean equals(java.lang.Object o)
           
 java.lang.String getToken()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

@NotNull
public static SecureToken create()
Creates a new SecureToken

Returns:
secureToken

createFromString

@NotNull
public static SecureToken createFromString(@NotNull
                                                   java.lang.String s)
Creates a new SecureToken from a String

Parameters:
s -
Returns:
secureToken

getToken

public java.lang.String getToken()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object


Copyright © 2011 Atlassian. All Rights Reserved.