com.atlassian.confluence.user
Class UserVerificationToken

java.lang.Object
  extended by com.atlassian.confluence.user.UserVerificationToken
All Implemented Interfaces:
Serializable

public class UserVerificationToken
extends Object
implements Serializable

Represents a verification token issued to a user or potential user. This only refers to the username, rather than the ConfluenceUser, since a ConfluenceUser may not yet exist.

Since:
v5.2
See Also:
Serialized Form

Constructor Summary
UserVerificationToken(UserVerificationTokenType secureUserTokenType, String userName, String tokenString, Date issueDate)
           
 
Method Summary
 boolean equals(Object o)
           
 String getTokenString()
           
 UserVerificationTokenType getTokenType()
           
 String getUserName()
           
 int hashCode()
           
 boolean matchesToken(String tokenStr)
           
 String toString()
           
 boolean wasIssuedAfter(Date date)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserVerificationToken

public UserVerificationToken(UserVerificationTokenType secureUserTokenType,
                             String userName,
                             String tokenString,
                             Date issueDate)
Method Detail

getTokenType

public UserVerificationTokenType getTokenType()

getUserName

public String getUserName()

getTokenString

public String getTokenString()

wasIssuedAfter

public boolean wasIssuedAfter(Date date)

matchesToken

public boolean matchesToken(String tokenStr)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003–2015 Atlassian. All rights reserved.