Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.j2ee.descriptor.wl
Interface SecurityParamsBean

All Superinterfaces:
SettableBean

public interface SecurityParamsBean
extends SettableBean

Some clients may wish to customize the security information associated with them. They can use the security parameters bean to do so.

Access limited to the following security roles:
Deployer

Method Summary
 boolean isAttachJMSXUserId()
          Specifies whether WebLogic Server attaches the authenticated user name to sent messages.
 void setAttachJMSXUserId(boolean attachJmsxUserId)
          Specifies whether WebLogic Server attaches the authenticated user name to sent messages provided that the JMS destination is configured to support this behavior.
 
Methods inherited from interface weblogic.descriptor.SettableBean
isSet, unSet
 

Method Detail

isAttachJMSXUserId

boolean isAttachJMSXUserId()

Specifies whether WebLogic Server attaches the authenticated user name to sent messages.

If enabled, the system will attach the authenticated username onto sent messages if the destination supports this behavior. The username is placed in the JMSXUserID user property. You should consult the JMSXUserID documentation in Programming WebLogic JMS before using this feature.

When dynamically changed this will affect all connections made using this connection factory after the change was made.

Returns:
The setAttachJMSXUserID attribute
See Also:
DestinationBean.getAttachSender()
Changes take effect after you redeploy the module or restart the server.
Default Value:
false

setAttachJMSXUserId

void setAttachJMSXUserId(boolean attachJmsxUserId)
                         throws IllegalArgumentException

Specifies whether WebLogic Server attaches the authenticated user name to sent messages provided that the JMS destination is configured to support this behavior.

If the JMS destination AttachSender setting is Always or Never rather than the default Supports, then the connection factory AttachJMSXUserID setting is ignored in favor of the destination setting. If enabled, the system will attach the authenticated username onto sent messages. The username is placed in the JMSXUserID user property.

You should consult the JMSXUserID documentation in Programming WebLogic JMS before using this feature.

Parameters:
attachJmsxUserId -
Throws:
IllegalArgumentException
See Also:
SecurityParamsBean.isAttachJMSXUserId()
Changes take effect after you redeploy the module or restart the server.

Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02