com.atlassian.confluence.security.trust
Interface TrustedToken


public interface TrustedToken

A token for trusted communications between Atlassian applications


Method Summary
 java.lang.String getApplicationId()
           
 java.lang.String getEncodedKey()
           
 java.lang.String getEncodedToken()
           
 java.lang.String getMagicNumber()
           
 java.lang.Integer getProtocolVersion()
           
 java.lang.String getSignature()
           
 java.lang.String getUserName()
           
 

Method Detail

getUserName

java.lang.String getUserName()
Returns:
The user name associated with this token

getApplicationId

java.lang.String getApplicationId()
Returns:
The identity of the application which generated this token

getEncodedToken

java.lang.String getEncodedToken()
Returns:
An encoded form of this token to be used for transporting the token between processes

getEncodedKey

java.lang.String getEncodedKey()
Returns:
An encoded form of the key used to encode the token

getMagicNumber

java.lang.String getMagicNumber()
Returns:
the magic number used in v2 of the trusted protocol

getProtocolVersion

java.lang.Integer getProtocolVersion()
Returns:
the version of the protocol in use.

getSignature

java.lang.String getSignature()
Returns:
The signature sent with the token, used to verify the username and requested url.


Copyright © 2003-2014 Atlassian. All Rights Reserved.