com.worklight.jsonstore.api

Class JSONStoreInitOptions

  • java.lang.Object
    • com.worklight.jsonstore.api.JSONStoreInitOptions


  • public final class JSONStoreInitOptions
    extends java.lang.Object
    Options that are used to modify the init operation in WLJSONStore.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getPassword()
      Get the password to be used for the store.
      int getPBKDF2Iterations() 
      java.lang.String getSecureRandom()
      Get the secure random that is used by security artifacts.
      java.lang.String getUsername()
      Get the user name.
      boolean isAnalyticsEnabled()
      Get the flag if analytics for JSONStore is enabled.
      void setAnalyticsEnabled(boolean enable)
      Set the flag or remove the flag to enable JSONStore analytics logging.
      void setPassword(java.lang.String new_password)
      Set the password to be used for the store.
      void setPBKDF2Iterations(int pbkdf2Iterations) 
      void setSecureRandom(java.lang.String secureRandom)
      Set the secure random to be used by security artifacts.
      void setUsername(java.lang.String new_username)
      Set the user name to be used for the JSONStore.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JSONStoreInitOptions

        public JSONStoreInitOptions(java.lang.String username)
      • JSONStoreInitOptions

        public JSONStoreInitOptions()
    • Method Detail

      • getUsername

        public java.lang.String getUsername()
        Get the user name.
        Returns:
        String The user name.
      • setUsername

        public void setUsername(java.lang.String new_username)
        Set the user name to be used for the JSONStore.
        Parameters:
        new_username - the user name to be used.
      • setPassword

        public void setPassword(java.lang.String new_password)
        Set the password to be used for the store.
        Parameters:
        new_password - String The password to be used for the store.
      • getPassword

        public java.lang.String getPassword()
        Get the password to be used for the store.
        Returns:
        password String The password to be used for the store.
      • getSecureRandom

        public java.lang.String getSecureRandom()
        Get the secure random that is used by security artifacts.
        Returns:
        The secure random string to be used by security artifacts.
      • setSecureRandom

        public void setSecureRandom(java.lang.String secureRandom)
        Set the secure random to be used by security artifacts.
        Parameters:
        secureRandom - The secure random string to be used by security artifacts.
      • setAnalyticsEnabled

        public void setAnalyticsEnabled(boolean enable)
        Set the flag or remove the flag to enable JSONStore analytics logging.
        Parameters:
        enable - When true, analytics will be logged for JSONStore.
      • isAnalyticsEnabled

        public boolean isAnalyticsEnabled()
        Get the flag if analytics for JSONStore is enabled.
        Returns:
        True if analytics will be logged for JSONStore.
      • getPBKDF2Iterations

        public int getPBKDF2Iterations()
      • setPBKDF2Iterations

        public void setPBKDF2Iterations(int pbkdf2Iterations)


© Copyright IBM Corp. 2006, 2015. All Rights Reserved.