# SAFLoginContextBean

Overview | Related MBeans | Attributes | Operations

## Overview

Store-and-Forward (SAF) Login Context specifies the remote URL and user credentials needed to log into and get authenticated and authorized in a remote cluster or server.

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.SAFLoginContextBean`
Factory Methods | No factory methods. Instances of this MBean are created automatically.
Access Points | You can access this MBean from the following MBean attributes:
SAFRemoteContextBean.SAFLoginContext |

## Attributes

This section describes the following attributes:

LoginURL Password PasswordEncrypted | Username

### LoginURL

Specifies the URL to connect to when using this SAF Login Context.

SAFImportedDestinations are associated with a SAFRemoteContext that has a SAFLoginContext. This SAFLoginContext defines the URL to connect to.

Privileges | Read/Write
Type | java.lang.String

### Password

The password for the username used to log into the remote URL.

When Password is specified for a SAFLoginContext, then SAFPrincipalName is not specified.

Privileges | Read/Write
Type | java.lang.String
Encrypted | true

### PasswordEncrypted

The encrypted value of the password.

Privileges | Read/Write
Type | byte[]
Encrypted | true

### Username

The name used to log into the remote URL.

When Username is specified for a SAFLoginContext, then SAFPrincipalName is not specified.

Privileges | Read/Write
Type | java.lang.String

## 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.