# SecurityParamsBean

Overview | Related MBeans | Attributes | Operations

## Overview

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

Security roles | The following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean: Deployer
Fully Qualified Interface Name | If you use the `getMBeanInfo` operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name: `weblogic.j2ee.descriptor.wl.SecurityParamsBean`
Factory Methods | No factory methods. Instances of this MBean are created automatically.
Access Points | You can access this MBean from the following MBean attributes:
JMSConnectionFactoryBean.SecurityParams |

## Attributes

This section describes the following attributes:

AttachJMSXUserId |

### AttachJMSXUserId

Specifies whether WebLogic Server attachs 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. JMSXUserID is defined in the JMS specification (see section 3.5.9).

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

For more information, see:

- weblogic/j2ee/descriptor/wl/DestinationBean#getAttachSender

Privileges | Read/Write
Type | boolean

## Operations

This section describes the following operations:

isSet unSet |

### isSet

Return true if the given property has been explicitly set in this bean.

Operation Name | `"isSet"`
Parameters | `Object [] { propertyName }` where: `propertyName` is an object of type `java.lang.String` that specifies: property to check
Signature | `String [] { "java.lang.String" }`
Returns | `boolean`
Exceptions | `java.lang.IllegalArgumentException` IllegalArgumentException if propertyName is not a recognized property

### unSet

Restore the given property to its default value.

Operation Name | `"unSet"`
Parameters | `Object [] { propertyName }` where: `propertyName` is an object of type `java.lang.String` that specifies: property to restore
Signature | `String [] { "java.lang.String" }`
Returns | `void`
Exceptions | `java.lang.IllegalArgumentException` UnsupportedOperationException if called on a runtime implementation.