org.exoplatform.clouddrive.box
Class BoxProvider

java.lang.Object
  extended by org.exoplatform.clouddrive.CloudProvider
      extended by org.exoplatform.clouddrive.box.BoxProvider

public class BoxProvider
extends org.exoplatform.clouddrive.CloudProvider

Box provider copies GoogleDrive's provider by the code because of OAuth2. Created by The eXo Platform SAS.

Version:
$Id: BoxProvider.java 00000 Aug 30, 2013 pnedonosko $
Author:
Peter Nedonosko

Field Summary
protected  String authURL
           
protected  org.exoplatform.services.jcr.RepositoryService jcrService
           
protected  boolean loginSSO
           
protected  String redirectURL
           
 
Fields inherited from class org.exoplatform.clouddrive.CloudProvider
CONNECT_URL_BASE, hashCode, id, name
 
Constructor Summary
BoxProvider(String id, String name, String authURL, String redirectURL, boolean loginSSO, org.exoplatform.services.jcr.RepositoryService jcrService)
           
 
Method Summary
 String getAuthURL()
          
 String getRedirectURL()
           
 boolean isLoginSSO()
           
 boolean retryOnProviderError()
          
 
Methods inherited from class org.exoplatform.clouddrive.CloudProvider
equals, getId, getName, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

authURL

protected final String authURL

redirectURL

protected final String redirectURL

loginSSO

protected final boolean loginSSO

jcrService

protected final org.exoplatform.services.jcr.RepositoryService jcrService
Constructor Detail

BoxProvider

public BoxProvider(String id,
                   String name,
                   String authURL,
                   String redirectURL,
                   boolean loginSSO,
                   org.exoplatform.services.jcr.RepositoryService jcrService)
Parameters:
id -
name -
authURL -
redirectURL -
loginSSO -
jcrService -
Method Detail

getAuthURL

public String getAuthURL()
                  throws org.exoplatform.clouddrive.CloudDriveException

Specified by:
getAuthURL in class org.exoplatform.clouddrive.CloudProvider
Throws:
org.exoplatform.clouddrive.CloudDriveException

getRedirectURL

public String getRedirectURL()
Returns:
the redirectURL

isLoginSSO

public boolean isLoginSSO()
Returns:
the loginSSO

retryOnProviderError

public boolean retryOnProviderError()

Specified by:
retryOnProviderError in class org.exoplatform.clouddrive.CloudProvider


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.