|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The class represents the RosettaNet Binding type supported by WLI for Trading Partners. The RosettaNet protocol supports non-repudiation by digitally signing outbound messages and acknowledgements based on the attributes is-signature-required and is-receipt-signature-required. A predefined set of algorithms and parameters are provided by the WLI implementation.
Field Summary | |
static String |
CIPHER_3DES
|
static String |
CIPHER_DES
|
static String |
CIPHER_NONE
|
static String |
CIPHER_RC2
|
static String |
CIPHER_RC5
|
static String |
ENCRYPT_ENTIRE_PAYLOAD
|
static String |
ENCRYPT_NONE
|
static String |
ENCRYPT_PAYLOAD
|
static String |
MD5
|
static String |
SHA1
|
Fields inherited from interface com.bea.wli.tpm.management.configuration.BindingMBean |
EBXML, EBXML_10, EBXML_20, ROSETTANET, ROSETTANET_11, ROSETTANET_20, WEBSERVICE |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
CACHING_STUB_SVUID, DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
void |
addEncryptionCertificate(String name)
Registers the name or alias of the encryption certificate for encrypting messages digitally. |
void |
addFailureNotifier(String tpName,
String bindingName)
Add the Failure Notifier from the Binding for this Trading Partner . |
void |
addFailureReportAdministrator(String tpName,
String bindingName)
Add the Failure Report Administrator from the Binding for this Trading Partner . |
void |
addReferenceToEncryptionCertificate(CertificateMBean certMBean)
Internal Use Only - Registers the certificate mbean of type encryption certificate. |
void |
addReferenceToFailure(FailureMBean mbean)
Internal Use Only - Add the mbean for Failure Notifier for Administrator . |
void |
addReferenceToSignatureCertificate(CertificateMBean certMBean)
Internal Use Only - Registers the certificate mbean of type signature certificate. |
void |
addSignatureCertificate(String name)
Registers the name or alias of the signature certificate for encrypting messages digitally. |
String |
getCipherAlgorithm()
Specifies the algorithm to be used for encrypting messages. |
String |
getEncryptionCertificateName()
OAM Use only - Gets the name of Encryption Certificate . |
String |
getEncryptionLevel()
Specifies how much of the message content is to be encrypted. |
String |
getMessageDigestAlgorithm()
Specifies the algorithm to be used for message digest. |
String |
getProcessTimeout()
Specifies the amount of time (in milliseconds) a PIP can be active before timing out. |
int |
getRetryCount()
Specifies the maximum number of retries for sending a reliably delivered message The default is 0. |
String |
getRetryInterval()
Specifies the time interval (in milliseconds) between retries of sending a reliably delivered message following a timeout waiting for a message acknowledgement. |
String |
getSignatureCertificateName()
OAM use only - Gets the name of Signature Certificate . |
boolean |
isSignatureReceiptRequired()
Specifies that the message is to be acknowledged by a digitally signed receipt acknowledgement message using the signature certificate of the party sending the acknowledgement |
boolean |
isSignatureRequired()
Specifies that the message is to be digitally signed using the signature certificate of the trading partner sending the message. |
void |
removeEncryptionCertificate()
Removes the reference for the encryption certificate used for encrypting messages. |
void |
removeFailureNotifier()
Removes the Failure Notifier from the Binding for this Trading Partner . |
void |
removeFailureReportAdministrator()
Removes the Failure Notifier for Administrator from the Binding for this Trading Partner . |
void |
removeSignatureCertificate()
Removes the reference for the signature certificate used for digitally signing message. |
CertificateMBean |
retrieveEncryptionCertificate()
Retrieves the CertificateMBean for encryption certificate.. |
FailureMBean |
retrieveFailureNotifier()
Retrieves the Failure Notifier from RosettaNet Binding for this Trading Partner . |
FailureMBean |
retrieveFailureReportAdministrator()
Retrieves the Failure for Administrator from RosettaNet Binding for the Trading Partner . |
CertificateMBean |
retrieveSignatureCertificate()
Retrieves the CertificateMBean for signature certificate.. |
void |
setCipherAlgorithm(String newValue)
Registers the algorithm to be used for encrypting messages. |
void |
setEncryptionLevel(String newValue)
Registers how much of the message content is to be encrypted. |
void |
setMessageDigestAlgorithm(String newValue)
Registers the algorithm to be used for computing message digest for Digital Signatures. |
void |
setProcessTimeout(String description)
Specifies the time interval after which a PIP can be timed out. |
void |
setRetryCount(int newValue)
Registers the maximum number of retries for sending a reliably delivered message |
void |
setRetryInterval(String description)
Registers the time interval for reliably sending messages following a timeout waiting for a message acknowledgement. |
void |
setSignatureReceiptRequired(boolean newValue)
Registers that the message acknowledgements would be digitally signed or not using the signature certificate of the trading partner |
void |
setSignatureRequired(boolean newValue)
Registers that the message would be digitally signed as a whole or not, using the signature certificate of the trading partner |
void |
updateAll(String businessProtocolName,
String businessProtocolVersion,
boolean isDefault,
boolean isSignatureRequired,
boolean isReceiptSignatureRequired,
String cipherAlgorithm,
String messageDigestAlgorithm,
String encryptionLevel,
int retryCount,
String retryInterval,
String processTimeout)
Updates the Rosettanet Binding |
Methods inherited from interface com.bea.wli.tpm.management.configuration.BindingMBean |
addReferenceToTransport, addTransport, getBindingName, getBusinessProtocolName, getBusinessProtocolVersion, getTradingPartnerName, isDefaultBinding, isEbxml, isRosettaNet, isWebService, removeTransport, retrieveTradingPartner, retrieveTransport, setBindingName, setBusinessProtocolName, setBusinessProtocolVersion, setDefaultBinding, setEbxml, setRosettaNet, setWebService |
Methods inherited from interface com.bea.wli.tpm.management.configuration.TPMBaseMBean |
fromXML, getDelegateObject, isActive, publish, remove, setActive, setDelegateObject, toXML, toXMLInternal, update, updateInternal |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
freezeCurrentValue, getAttributeStringValue, getComments, getNotes, getSetFields, getXml, getXmlConverter, isDefaultedMBean, isPersistenceEnabled, preDeregister, registerConfigMBean, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled, touch, unRegisterConfigMBean |
Methods inherited from interface weblogic.management.WebLogicMBean |
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister, postRegister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener, getNotificationInfo, removeNotificationListener |
Field Detail |
public static final String CIPHER_NONE
public static final String CIPHER_RC5
public static final String CIPHER_DES
public static final String CIPHER_3DES
public static final String CIPHER_RC2
public static final String ENCRYPT_NONE
public static final String ENCRYPT_PAYLOAD
public static final String ENCRYPT_ENTIRE_PAYLOAD
public static final String SHA1
public static final String MD5
Method Detail |
public boolean isSignatureRequired()
TradingPartnerMgmtMBean
public void setSignatureRequired(boolean newValue) throws javax.management.InvalidAttributeValueException
newValue
- - true if the message is to be signed or false if not
javax.management.InvalidAttributeValueException
public boolean isSignatureReceiptRequired()
public void setSignatureReceiptRequired(boolean newValue) throws javax.management.InvalidAttributeValueException
newValue
- - true if the message is to be signed or false if not
javax.management.InvalidAttributeValueException
public int getRetryCount()
public void setRetryCount(int newValue) throws javax.management.InvalidAttributeValueException
newValue
- - the retry count
javax.management.InvalidAttributeValueException
public String getRetryInterval()
public void setRetryInterval(String description) throws javax.management.InvalidAttributeValueException
description
- - the retry interval, specified in timer contorl
format.
javax.management.InvalidAttributeValueException
public String getCipherAlgorithm()
Default value is NONE, implies no algorithm would be used to encrypt message
public void setCipherAlgorithm(String newValue) throws javax.management.InvalidAttributeValueException
Default value is NONE, implies no algorithm would be used to encrypt message
newValue
- - the cipher algorithm used
javax.management.InvalidAttributeValueException
public String getMessageDigestAlgorithm()
Default value is SHA-1, algorithm would be used to compute message digest for Digital Signature
public void setMessageDigestAlgorithm(String newValue) throws javax.management.InvalidAttributeValueException
newValue
- - the message digest algorithm used
javax.management.InvalidAttributeValueException
public String getProcessTimeout()
public void setProcessTimeout(String description) throws javax.management.InvalidAttributeValueException
description
- - the process timeout value, specified in timer
control format.
javax.management.InvalidAttributeValueException
public String getEncryptionLevel()
Default value is NONE, implies message would not be encrypted
public void setEncryptionLevel(String newValue) throws javax.management.InvalidAttributeValueException
newValue
- - the encryption level
javax.management.InvalidAttributeValueException
public void addEncryptionCertificate(String name) throws ConfigurationException
name
- - Name of the certificate alias in Java Key Store
ConfigurationException
CertificateMBean
public void addReferenceToEncryptionCertificate(CertificateMBean certMBean) throws ConfigurationException
certMBean
- - encryption certificate mbean
ConfigurationException
public void addSignatureCertificate(String name) throws ConfigurationException
name
- - Name of the certificate alias in Java Key Store
ConfigurationException
CertificateMBean
public void addReferenceToSignatureCertificate(CertificateMBean certMBean) throws ConfigurationException
certMBean
- - signature certificate mbean
ConfigurationException
public void addFailureNotifier(String tpName, String bindingName) throws ConfigurationException
tpName
- - Name of the trading partnerbindingName
- - Binding used for failure notifier
ConfigurationException
public void addFailureReportAdministrator(String tpName, String bindingName) throws ConfigurationException
tpName
- - Name of the trading partnerbindingName
- - Binding used for reporting failure to administrator
ConfigurationException
public void addReferenceToFailure(FailureMBean mbean) throws ConfigurationException
mbean
- - MBean of failure
ConfigurationException
public FailureMBean retrieveFailureReportAdministrator() throws ManagementException
ManagementException
- - If the pip failure for admin is not specifiedpublic FailureMBean retrieveFailureNotifier() throws ManagementException
ManagementException
- - If the pip failure for admin is not specifiedpublic void removeFailureNotifier() throws DeleteException
DeleteException
- - If the pip failure for admin is not specifiedpublic void removeFailureReportAdministrator() throws DeleteException
DeleteException
- - If the pip failure for admin is not specifiedpublic void removeSignatureCertificate() throws DeleteException
DeleteException
public void removeEncryptionCertificate() throws DeleteException
DeleteException
public CertificateMBean retrieveSignatureCertificate() throws ManagementException
null
would be returned if there is no matching signature certificate
ManagementException
- - If signature certificate cannot be located in the
Java Key Storepublic CertificateMBean retrieveEncryptionCertificate() throws ManagementException
null
would be returned if there is no matching encryption certificate
ManagementException
- - If encryption certificate cannot be located in the
Java Key Storepublic String getSignatureCertificateName()
public String getEncryptionCertificateName()
public void updateAll(String businessProtocolName, String businessProtocolVersion, boolean isDefault, boolean isSignatureRequired, boolean isReceiptSignatureRequired, String cipherAlgorithm, String messageDigestAlgorithm, String encryptionLevel, int retryCount, String retryInterval, String processTimeout) throws javax.management.InvalidAttributeValueException, UpdateException, ObjectActiveException
businessProtocolName
- - Name of the business procotolbusinessProtocolVersion
- - Version of this buisness ProtocolisDefault
- - Is this the default bindingisSignatureRequired
- - Is signature requiredisReceiptSignatureRequired
- - Is Receipt Signature signature requiredcipherAlgorithm
- - cipher AlgorithmmessageDigestAlgorithm
- - message digest AlgorithmencryptionLevel
- - encryptionLevelretryCount
- - Retry CountretryInterval
- - retryInterval in 0y0m0dt0h0m0sprocessTimeout
- - Process Timeout in 0y0m0dt0h0m0s
javax.management.InvalidAttributeValueException
UpdateException
ObjectActiveException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |