org.gcube.security.soa3.connector.integration
Class TokenCredentials

java.lang.Object
  extended by org.gcube.security.soa3.connector.integration.TokenCredentials
All Implemented Interfaces:
org.gcube.common.core.security.SecurityCredentials

public class TokenCredentials
extends Object
implements org.gcube.common.core.security.SecurityCredentials


Constructor Summary
TokenCredentials(Element token)
           
TokenCredentials(String type, String binaryTokenValue)
           
 
Method Summary
 Object getCredentialsAsObject()
           
 String getCredentialsAsString()
           
 String getType()
           
 String getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenCredentials

public TokenCredentials(String type,
                        String binaryTokenValue)

TokenCredentials

public TokenCredentials(Element token)
Method Detail

getCredentialsAsString

public String getCredentialsAsString()
                              throws Exception
Specified by:
getCredentialsAsString in interface org.gcube.common.core.security.SecurityCredentials
Throws:
Exception

getCredentialsAsObject

public Object getCredentialsAsObject()
Specified by:
getCredentialsAsObject in interface org.gcube.common.core.security.SecurityCredentials

getType

public String getType()

getValue

public String getValue()


Copyright © 2013. All Rights Reserved.