Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.oauth.keys
Interface OAuthServerKeyManager

All Known Implementing Classes:
OAuthServerKeyManagerImpl

public interface OAuthServerKeyManager

Service to manage the key and shared secret used by Nuxeo server : - private/public key pair used by Nuxeo to use Signed request with RSA - shared key between Nuxeo and Shindig to manage Signed Fetch

Author:
tiry

Method Summary
 String getBarePrivateKey()
          Return the Private Key used by Nuxeo server to do RSA Signing (Removes OpenSSL decorators)
 String getBarePublicCertificate()
          Return the Public Key certificate used by Nuxeo server to do RSA Signing (Removes OpenSSL decorators)
 NuxeoOAuthConsumer getInternalConsumer()
          Return the NuxeoOAuthConsumer representing local (embeded) Shindig instance
 String getInternalKey()
          Return the consumerKey used in Shindig => Nuxeo sign fetch
 String getInternalSecret()
          Return the consumerSecret (HMAC) used in Shindig => Nuxeo sign fetch
 String getKeyName()
          Return key name (not really used)
 String getPrivateKey()
          Return the Private Key used by Nuxeo server to do RSA Signing
 String getPublicKeyCertificate()
          Return the Public Key certificate used by Nuxeo server to do RSA Signing
 

Method Detail

getPublicKeyCertificate

String getPublicKeyCertificate()
Return the Public Key certificate used by Nuxeo server to do RSA Signing

Returns:

getBarePublicCertificate

String getBarePublicCertificate()
Return the Public Key certificate used by Nuxeo server to do RSA Signing (Removes OpenSSL decorators)

Returns:

getPrivateKey

String getPrivateKey()
Return the Private Key used by Nuxeo server to do RSA Signing

Returns:

getBarePrivateKey

String getBarePrivateKey()
Return the Private Key used by Nuxeo server to do RSA Signing (Removes OpenSSL decorators)

Returns:

getKeyName

String getKeyName()
Return key name (not really used)

Returns:

getInternalKey

String getInternalKey()
Return the consumerKey used in Shindig => Nuxeo sign fetch

Returns:

getInternalSecret

String getInternalSecret()
Return the consumerSecret (HMAC) used in Shindig => Nuxeo sign fetch

Returns:

getInternalConsumer

NuxeoOAuthConsumer getInternalConsumer()
Return the NuxeoOAuthConsumer representing local (embeded) Shindig instance

Returns:

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.