Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.shindig.crypto
Class OpenSocialDescriptor

java.lang.Object
  extended by org.nuxeo.opensocial.shindig.crypto.OpenSocialDescriptor

public class OpenSocialDescriptor
extends Object

This class is the java-level description of the parameters that are configured into the opensocial implementation. This contribution is usually packaged as default-opensocial-config.xml and resides in the config directory. The implementation of opensocial is based on shindig 1.1 and is integrated inside nuxeo itself (there is no extra "shindig process").

Author:
iansmith, Thomas Roger

Field Summary
static Pattern DEFAULT_BIND_ADDRESS_PATTERN
           
static String LOCALHOST_BIND_ADDRESS
           
static String NUXEO_BIND_ADDRESS_PROPERTY
           
static String TRUSTED_HOSTS_SEPARATOR
           
 
Constructor Summary
OpenSocialDescriptor()
           
 
Method Summary
 String getCallbackUrl()
           
 OAuthServiceDescriptor[] getOAuthServices()
           
 PortalConfig[] getPortalConfig()
          For now, this is always null because it isn't used.
 String getSigningKey()
           
 String[] getTrustedHosts()
           
 boolean isTrustedHost(String host)
           
 boolean propagateJSESSIONIDToTrustedHosts()
           
 void setSigningKey(String keyAsBase64)
           
 void setTrustedHosts(String trustedHosts)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRUSTED_HOSTS_SEPARATOR

public static final String TRUSTED_HOSTS_SEPARATOR
See Also:
Constant Field Values

NUXEO_BIND_ADDRESS_PROPERTY

public static final String NUXEO_BIND_ADDRESS_PROPERTY
See Also:
Constant Field Values

LOCALHOST_BIND_ADDRESS

public static final String LOCALHOST_BIND_ADDRESS
See Also:
Constant Field Values

DEFAULT_BIND_ADDRESS_PATTERN

public static final Pattern DEFAULT_BIND_ADDRESS_PATTERN
Constructor Detail

OpenSocialDescriptor

public OpenSocialDescriptor()
Method Detail

getSigningKey

public String getSigningKey()

getPortalConfig

public PortalConfig[] getPortalConfig()
For now, this is always null because it isn't used.


getCallbackUrl

public String getCallbackUrl()

setSigningKey

public void setSigningKey(String keyAsBase64)

setTrustedHosts

public void setTrustedHosts(String trustedHosts)

getTrustedHosts

public String[] getTrustedHosts()

isTrustedHost

public boolean isTrustedHost(String host)

getOAuthServices

public OAuthServiceDescriptor[] getOAuthServices()

propagateJSESSIONIDToTrustedHosts

public boolean propagateJSESSIONIDToTrustedHosts()

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.