com.atlassian.gadgets.renderer.internal
Class CustomBlobCrypterSecurityTokenDecoder

java.lang.Object
  extended by com.atlassian.gadgets.renderer.internal.CustomBlobCrypterSecurityTokenDecoder
All Implemented Interfaces:
org.apache.shindig.auth.SecurityTokenDecoder
Direct Known Subclasses:
CustomNonExpirableBlobCrypterSecurityTokenDecoder

public class CustomBlobCrypterSecurityTokenDecoder
extends Object
implements org.apache.shindig.auth.SecurityTokenDecoder


Field Summary
 
Fields inherited from interface org.apache.shindig.auth.SecurityTokenDecoder
ACTIVE_URL_NAME, SECURITY_TOKEN_NAME
 
Constructor Summary
CustomBlobCrypterSecurityTokenDecoder(org.apache.shindig.common.crypto.BlobCrypter crypter, ContainerDomainProvider domainProvider)
           
 
Method Summary
 org.apache.shindig.auth.SecurityToken createToken(Map<String,String> tokenParameters)
          Decrypt and verify the provided security token.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomBlobCrypterSecurityTokenDecoder

public CustomBlobCrypterSecurityTokenDecoder(@Qualifier(value="blobCrypter")
                                             org.apache.shindig.common.crypto.BlobCrypter crypter,
                                             ContainerDomainProvider domainProvider)
Method Detail

createToken

public org.apache.shindig.auth.SecurityToken createToken(Map<String,String> tokenParameters)
                                                  throws org.apache.shindig.auth.SecurityTokenException
Decrypt and verify the provided security token.

Specified by:
createToken in interface org.apache.shindig.auth.SecurityTokenDecoder
Throws:
org.apache.shindig.auth.SecurityTokenException


Copyright © 2011 Atlassian. All Rights Reserved.