Blue Mind
Release 1.0

net.bluemind.core.client
Class TokenHelper

java.lang.Object
  extended by net.bluemind.core.client.TokenHelper

public final class TokenHelper
extends java.lang.Object


Field Summary
static java.lang.String TOKEN_LOGIN
           
 
Constructor Summary
TokenHelper()
           
 
Method Summary
static java.lang.String getLocalPermanentSid()
          Get admin0 token if permanent token already set or admin0 default password otherwise
static java.lang.String getLocalPermanentSid(boolean defaultPassword)
          Get admin0 token if permanent token already set or admin0 default password otherwise
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOKEN_LOGIN

public static final java.lang.String TOKEN_LOGIN
See Also:
Constant Field Values
Constructor Detail

TokenHelper

public TokenHelper()
Method Detail

getLocalPermanentSid

public static java.lang.String getLocalPermanentSid()
Get admin0 token if permanent token already set or admin0 default password otherwise

Returns:
admin0 permanent token or password

getLocalPermanentSid

public static java.lang.String getLocalPermanentSid(boolean defaultPassword)
Get admin0 token if permanent token already set or admin0 default password otherwise

Parameters:
defaultPassword - : force getting admin0 default password
Returns:
admin0 permanent token or password

Blue Mind
Release 1.0