org.gcube.security.soa3.connector.integration.utils
Class Utils

java.lang.Object
  extended by org.gcube.security.soa3.connector.integration.utils.Utils

public class Utils
extends Object


Field Summary
static String BASE64
           
static String BINARY_SECURITY_TOKEN_LABEL
           
static String BINARY_SECURITY_TOKEN_PREFIX
           
static String ENCODING_TYPE_LABEL
           
static String ID_LABEL
           
static String SECURITY_TOKEN
           
static String SECURITY_TOKEN_ATTR
           
static String SERVICE_PROPERTIES
           
static String VALUE_TYPE_LABEL
           
static String WSSE_NAMESPACE
           
 
Constructor Summary
Utils()
           
 
Method Summary
static Element generateBinaryTokenElement(String type, String binaryTokenValue)
           
static org.apache.axis.message.SOAPHeaderElement generateSoapHeaderBinaryTokenElement(String type, String binaryTokenValue)
           
static void setServiceProperties(org.gcube.common.core.contexts.GCUBEServiceContext ctxt, String serviceName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_PROPERTIES

public static final String SERVICE_PROPERTIES
See Also:
Constant Field Values

SECURITY_TOKEN

public static final String SECURITY_TOKEN
See Also:
Constant Field Values

BINARY_SECURITY_TOKEN_LABEL

public static final String BINARY_SECURITY_TOKEN_LABEL
See Also:
Constant Field Values

BINARY_SECURITY_TOKEN_PREFIX

public static final String BINARY_SECURITY_TOKEN_PREFIX
See Also:
Constant Field Values

WSSE_NAMESPACE

public static final String WSSE_NAMESPACE
See Also:
Constant Field Values

VALUE_TYPE_LABEL

public static final String VALUE_TYPE_LABEL
See Also:
Constant Field Values

ENCODING_TYPE_LABEL

public static final String ENCODING_TYPE_LABEL
See Also:
Constant Field Values

BASE64

public static final String BASE64
See Also:
Constant Field Values

ID_LABEL

public static final String ID_LABEL
See Also:
Constant Field Values

SECURITY_TOKEN_ATTR

public static final String SECURITY_TOKEN_ATTR
See Also:
Constant Field Values
Constructor Detail

Utils

public Utils()
Method Detail

setServiceProperties

public static void setServiceProperties(org.gcube.common.core.contexts.GCUBEServiceContext ctxt,
                                        String serviceName)

generateBinaryTokenElement

public static Element generateBinaryTokenElement(String type,
                                                 String binaryTokenValue)
                                          throws Exception
Throws:
Exception

generateSoapHeaderBinaryTokenElement

public static org.apache.axis.message.SOAPHeaderElement generateSoapHeaderBinaryTokenElement(String type,
                                                                                             String binaryTokenValue)
                                                                                      throws SOAPException
Throws:
SOAPException


Copyright © 2013. All Rights Reserved.