Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


oracle.wsm.security.policy.scenario.modelutil
Class AdvertisementUtil

java.lang.Object
  extended by oracle.wsm.security.policy.scenario.modelutil.AdvertisementUtil


public class AdvertisementUtil
extends Object

Field Summary
static String SAML_VERSION_11
           
static String SAML_VERSION_20
           
static String WSS_VERSION_10
           
static String WSS_VERSION_11
           

 

Constructor Summary
AdvertisementUtil()
           

 

Method Summary
static AlgorithmSuiteAssertion populateAlgorithmSuiteAssertion(String algSuite)
          Populates the algorithm Suite assertion object and returns the same to the caller.
static AsymmetricBindingAssertion populateAsymmetricBindingAssertion(String encKeyRefMech, String signKeyRefMech, String rcptEncKeyRefMech, String rcptSignKeyRefMech, String x509TokenVersion, String sAlgSuite, String laxLayout, boolean isEncryptSignature, boolean isIncludeTimeStamp)
           
static AsymmetricBindingAssertion populateAsymmetricBindingAssertion(String encKeyRefMech, String signKeyRefMech, String rcptEncKeyRefMech, String rcptSignKeyRefMech, String x509TokenVersion, String sAlgSuite, String laxLayout, boolean isEncryptSignature, boolean isIncludeTimeStamp, String samlVersion, String wss_version)
           
static KerberosTokenAssertion populateKerberosTokenAssertion(String tokenType, boolean requiredDerivedKeys, String inclusion)
           
static Wss11Assertion populateKerberosWss11Assertion(boolean msgSecurityEnabled)
           
static LayoutAssertion populateLayoutAssertion(String layout)
          Populates the LayourtAssertion obejct and retruns it to the caller.
static SamlTokenAssertion populateSamlAssertion(String samlVersion, String wss_version)
           
static SupportingTokenAssertion populateSamlTokenAssertion(SamlTokenType samlToken, String wss_version)
           
static void populateSignedEncryptedPartsElem(List<SignedEncryptedPartsType> lsElemPartsReq, List<SignedEncryptedPartsType> lsElemPartsRes, List<SignedEncryptedPartsType> lsElemPartsFault, AdvertisementContext advCtx)
           
static SymmetricBindingAssertion populateSymmetricBindingAssertion(String encKeyRefMech, String signKeyRefMech, String x509TokenVersion, boolean isUseDerivedKeys, String sAlgSuite, String laxLayout, boolean isEncryptSignature, boolean isIncludeTimeStamp)
           
static TransportBindingAssertion populateTransportBindingAssertion(RequireTlsType tlsType)
           
static Wss10Assertion populateWss10Assertion(String encKeyRefMech, String signKeyRefMech)
          Populates the Wss10Assertion object and returns it to the caller.
static Wss11Assertion populateWss11Assertion(String encKeyRefMech, String signKeyRefMech, boolean isConfirmSign)
          Populates the Wss11Assertion and returns it to the caller.
static X509TokenAssertion populateX509TokenAssertion(String encKeyRefMech, String signKeyRefMech, String x509TokenVersion, String inclusion_org, boolean isUseDerivedKeys, boolean isRcptToken, boolean isEndorsingToken)
          Populates the X509TokenAssertion object and returns the same to thec caller.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

SAML_VERSION_11

public static final String SAML_VERSION_11
See Also:
Constant Field Values

SAML_VERSION_20

public static final String SAML_VERSION_20
See Also:
Constant Field Values

WSS_VERSION_10

public static final String WSS_VERSION_10
See Also:
Constant Field Values

WSS_VERSION_11

public static final String WSS_VERSION_11
See Also:
Constant Field Values

Constructor Detail

AdvertisementUtil

public AdvertisementUtil()

Method Detail

populateSamlTokenAssertion

public static SupportingTokenAssertion populateSamlTokenAssertion(SamlTokenType samlToken,
                                                                  String wss_version)
                                                           throws PolicyModelException
Parameters:
samlToken -
wss_version -
Returns:
Throws:
PolicyModelException

populateSamlAssertion

public static SamlTokenAssertion populateSamlAssertion(String samlVersion,
                                                       String wss_version)
                                                throws PolicyModelException
Throws:
PolicyModelException

populateKerberosTokenAssertion

public static KerberosTokenAssertion populateKerberosTokenAssertion(String tokenType,
                                                                    boolean requiredDerivedKeys,
                                                                    String inclusion)
                                                             throws AdvertisementException
Throws:
AdvertisementException

populateX509TokenAssertion

public static X509TokenAssertion populateX509TokenAssertion(String encKeyRefMech,
                                                            String signKeyRefMech,
                                                            String x509TokenVersion,
                                                            String inclusion_org,
                                                            boolean isUseDerivedKeys,
                                                            boolean isRcptToken,
                                                            boolean isEndorsingToken)
                                                     throws AdvertisementException
Populates the X509TokenAssertion object and returns the same to thec caller. The X509TokenAssertion object contains the information about the key reference mechanisms used for signing and encryption. The inclusion attribute and if derived keys are to be used.
Parameters:
encKeyRefMech -
signKeyRefMech -
x509TokenVersion -
inclusion_org -
isUseDerivedKeys -
isRcptToken -
Returns:
X509TokenAssertion
Throws:
AdvertisementException

populateAlgorithmSuiteAssertion

public static AlgorithmSuiteAssertion populateAlgorithmSuiteAssertion(String algSuite)
                                                               throws AdvertisementException
Populates the algorithm Suite assertion object and returns the same to the caller. The AlgorithmSuiteAssertion contains the information about the algorithm suite being used.
Parameters:
algSuite -
Returns:
AlgorithmSuiteAssertion
Throws:
AdvertisementException

populateLayoutAssertion

public static LayoutAssertion populateLayoutAssertion(String layout)
                                               throws AdvertisementException
Populates the LayourtAssertion obejct and retruns it to the caller.
Parameters:
layout -
Returns:
LayoutAssertion
Throws:
AdvertisementException

populateKerberosWss11Assertion

public static Wss11Assertion populateKerberosWss11Assertion(boolean msgSecurityEnabled)

populateWss11Assertion

public static Wss11Assertion populateWss11Assertion(String encKeyRefMech,
                                                    String signKeyRefMech,
                                                    boolean isConfirmSign)
Populates the Wss11Assertion and returns it to the caller.
Parameters:
encKeyRefMech -
signKeyRefMech -
isConfirmSign -
Returns:
Wss11Assertion

populateWss10Assertion

public static Wss10Assertion populateWss10Assertion(String encKeyRefMech,
                                                    String signKeyRefMech)
Populates the Wss10Assertion object and returns it to the caller.
Parameters:
encKeyRefMech -
signKeyRefMech -
Returns:
Wss10Assertion

populateSignedEncryptedPartsElem

public static void populateSignedEncryptedPartsElem(List<SignedEncryptedPartsType> lsElemPartsReq,
                                                    List<SignedEncryptedPartsType> lsElemPartsRes,
                                                    List<SignedEncryptedPartsType> lsElemPartsFault,
                                                    AdvertisementContext advCtx)

populateSymmetricBindingAssertion

public static SymmetricBindingAssertion populateSymmetricBindingAssertion(String encKeyRefMech,
                                                                          String signKeyRefMech,
                                                                          String x509TokenVersion,
                                                                          boolean isUseDerivedKeys,
                                                                          String sAlgSuite,
                                                                          String laxLayout,
                                                                          boolean isEncryptSignature,
                                                                          boolean isIncludeTimeStamp)
                                                                   throws AdvertisementException,
                                                                          PolicyModelException
Throws:
AdvertisementException
PolicyModelException

populateAsymmetricBindingAssertion

public static AsymmetricBindingAssertion populateAsymmetricBindingAssertion(String encKeyRefMech,
                                                                            String signKeyRefMech,
                                                                            String rcptEncKeyRefMech,
                                                                            String rcptSignKeyRefMech,
                                                                            String x509TokenVersion,
                                                                            String sAlgSuite,
                                                                            String laxLayout,
                                                                            boolean isEncryptSignature,
                                                                            boolean isIncludeTimeStamp)
                                                                     throws AdvertisementException,
                                                                            PolicyModelException
Throws:
AdvertisementException
PolicyModelException

populateAsymmetricBindingAssertion

public static AsymmetricBindingAssertion populateAsymmetricBindingAssertion(String encKeyRefMech,
                                                                            String signKeyRefMech,
                                                                            String rcptEncKeyRefMech,
                                                                            String rcptSignKeyRefMech,
                                                                            String x509TokenVersion,
                                                                            String sAlgSuite,
                                                                            String laxLayout,
                                                                            boolean isEncryptSignature,
                                                                            boolean isIncludeTimeStamp,
                                                                            String samlVersion,
                                                                            String wss_version)
                                                                     throws AdvertisementException,
                                                                            PolicyModelException
Throws:
AdvertisementException
PolicyModelException

populateTransportBindingAssertion

public static TransportBindingAssertion populateTransportBindingAssertion(RequireTlsType tlsType)
                                                                   throws AdvertisementException,
                                                                          PolicyModelException
Throws:
AdvertisementException
PolicyModelException

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.