com.atlassian.gadgets.renderer.internal
Class NonExpirableBlobCrypterImpl

java.lang.Object
  extended by com.atlassian.gadgets.renderer.internal.BlobCrypterImpl
      extended by com.atlassian.gadgets.renderer.internal.NonExpirableBlobCrypterImpl
All Implemented Interfaces:
org.apache.shindig.common.crypto.BlobCrypter

public class NonExpirableBlobCrypterImpl
extends BlobCrypterImpl

Simple implementation of BlobCrypter that doesn't check for expiration.


Field Summary
static int MASTER_KEY_MIN_LEN
          minimum length of master key
 
Constructor Summary
NonExpirableBlobCrypterImpl(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory factory, com.atlassian.sal.api.transaction.TransactionTemplate txTemplate)
          Constructor.
 
Method Summary
 Map<String,String> unwrap(String in, int maxAgeSec)
           
 
Methods inherited from class com.atlassian.gadgets.renderer.internal.BlobCrypterImpl
getKey, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MASTER_KEY_MIN_LEN

public static final int MASTER_KEY_MIN_LEN
minimum length of master key

See Also:
Constant Field Values
Constructor Detail

NonExpirableBlobCrypterImpl

public NonExpirableBlobCrypterImpl(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory factory,
                                   com.atlassian.sal.api.transaction.TransactionTemplate txTemplate)
Constructor.

Parameters:
factory - the PluginSettingsFactory to use
txTemplate - the TransactionTemplate to use
Method Detail

unwrap

public Map<String,String> unwrap(String in,
                                 int maxAgeSec)
                          throws org.apache.shindig.common.crypto.BlobCrypterException
Specified by:
unwrap in interface org.apache.shindig.common.crypto.BlobCrypter
Overrides:
unwrap in class BlobCrypterImpl
Throws:
org.apache.shindig.common.crypto.BlobCrypterException


Copyright © 2010 Atlassian. All Rights Reserved.