public class BoxConnector
extends org.exoplatform.clouddrive.CloudDriveConnector
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_LOGIN_SSO_PARTNERIDPID
Partner's PartnerIdpId used by Box SSO support.
|
static String |
CONFIG_LOGIN_SSO_URL
Full URL for Box SSO support without redirect URL at the end.
|
config, CONFIG_CONNECTOR_HOST, CONFIG_CONNECTOR_SCHEMA, CONFIG_DISABLE, CONFIG_LOGIN_SSO, CONFIG_PREDEFINED_SERVICES, CONFIG_PROVIDER_CLIENT_ID, CONFIG_PROVIDER_CLIENT_SECRET, CONFIG_PROVIDER_ID, CONFIG_PROVIDER_NAME, connectorHost, connectorSchema, jcrFinder, jcrService, LOG, loginSSO, mimeTypes, OAUTH2_CODE, OAUTH2_ERROR, OAUTH2_ERROR_DESCRIPTION, OAUTH2_STATE, predefinedServices, provider, PROVIDER_REQUEST_ATTEMPT_TIMEOUT, PROVIDER_REQUEST_ATTEMPTS, sessionProviders| Constructor and Description |
|---|
BoxConnector(org.exoplatform.services.jcr.RepositoryService jcrService,
org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviders,
org.exoplatform.clouddrive.jcr.NodeFinder finder,
org.exoplatform.clouddrive.utils.ExtendedMimeTypeResolver mimeTypes,
org.exoplatform.container.xml.InitParams params) |
| Modifier and Type | Method and Description |
|---|---|
protected org.exoplatform.clouddrive.CloudUser |
authenticate(Map<String,String> params) |
protected org.exoplatform.clouddrive.CloudDrive |
createDrive(org.exoplatform.clouddrive.CloudUser user,
javax.jcr.Node driveNode) |
protected org.exoplatform.clouddrive.CloudProvider |
createProvider() |
protected String |
getConnectorHost() |
protected BoxProvider |
getProvider() |
protected org.exoplatform.clouddrive.CloudDrive |
loadDrive(javax.jcr.Node driveNode) |
currentUser, getClientId, getClientSecret, getConnectorSchema, getProviderId, getProviderName, isDisabled, redirectLink, sessionProviderpublic static final String CONFIG_LOGIN_SSO_PARTNERIDPID
public static final String CONFIG_LOGIN_SSO_URL
CONFIG_LOGIN_SSO_PARTNERIDPID.public BoxConnector(org.exoplatform.services.jcr.RepositoryService jcrService,
org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviders,
org.exoplatform.clouddrive.jcr.NodeFinder finder,
org.exoplatform.clouddrive.utils.ExtendedMimeTypeResolver mimeTypes,
org.exoplatform.container.xml.InitParams params)
throws org.exoplatform.clouddrive.ConfigurationException
org.exoplatform.clouddrive.ConfigurationExceptionprotected BoxProvider getProvider()
getProvider in class org.exoplatform.clouddrive.CloudDriveConnectorprotected String getConnectorHost()
getConnectorHost in class org.exoplatform.clouddrive.CloudDriveConnectorprotected org.exoplatform.clouddrive.CloudProvider createProvider()
createProvider in class org.exoplatform.clouddrive.CloudDriveConnectorprotected org.exoplatform.clouddrive.CloudUser authenticate(Map<String,String> params) throws org.exoplatform.clouddrive.CloudDriveException
authenticate in class org.exoplatform.clouddrive.CloudDriveConnectororg.exoplatform.clouddrive.CloudDriveExceptionprotected org.exoplatform.clouddrive.CloudDrive createDrive(org.exoplatform.clouddrive.CloudUser user,
javax.jcr.Node driveNode)
throws org.exoplatform.clouddrive.CloudDriveException,
javax.jcr.RepositoryException
createDrive in class org.exoplatform.clouddrive.CloudDriveConnectororg.exoplatform.clouddrive.CloudDriveExceptionjavax.jcr.RepositoryExceptionprotected org.exoplatform.clouddrive.CloudDrive loadDrive(javax.jcr.Node driveNode)
throws org.exoplatform.clouddrive.DriveRemovedException,
org.exoplatform.clouddrive.CloudDriveException,
javax.jcr.RepositoryException
loadDrive in class org.exoplatform.clouddrive.CloudDriveConnectororg.exoplatform.clouddrive.DriveRemovedExceptionorg.exoplatform.clouddrive.CloudDriveExceptionjavax.jcr.RepositoryExceptionCopyright © 2003–2015 eXo Platform SAS. All rights reserved.