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

Part Number E41849-02

weblogic.j2ee.descriptor.wl
Interface SAFLoginContextBean

All Superinterfaces:
SettableBean

public interface SAFLoginContextBean
extends SettableBean

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.

Access limited to the following security roles:
Deployer

Method Summary
 String getLoginURL()
          Specifies the URL to connect to when using this SAF Login Context.
 String getPassword()
          The password for the username used to log into the remote URL.
 byte[] getPasswordEncrypted()
          The encrypted value of the password.
 String getUsername()
          The name used to log into the remote URL.
 void setLoginURL(String loginURL)
          Sets the value of LoginURL attribute.
 void setPassword(String password)
          Sets the value of the Password attribute.
 void setPasswordEncrypted(byte[] passwordEncrypted)
          Sets the value of the PasswordEncrypted attribute.
 void setUsername(String username)
          Sets the value of the UserName attribute.
 
Methods inherited from interface weblogic.descriptor.SettableBean
isSet, unSet
 

Method Detail

getLoginURL

String getLoginURL()

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.

Returns:
url to connect to

setLoginURL

void setLoginURL(String loginURL)
                 throws IllegalArgumentException

Sets the value of LoginURL attribute.

Parameters:
loginURL - set the URL to connect to
Throws:
IllegalArgumentException
See Also:
SAFLoginContextBean.getLoginURL()
Changes take effect after you redeploy the module or restart the server.

getUsername

String getUsername()

The name used to log into the remote URL.

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

Returns:
username associated with this SAFLoginContext

setUsername

void setUsername(String username)
                 throws IllegalArgumentException

Sets the value of the UserName attribute.

Parameters:
username -
Throws:
IllegalArgumentException
See Also:
SAFLoginContextBean
Changes take effect after you redeploy the module or restart the server.

getPasswordEncrypted

byte[] getPasswordEncrypted()

The encrypted value of the password.

Returns:
The encrypted password
Changes take effect after you redeploy the module or restart the server.

setPasswordEncrypted

void setPasswordEncrypted(byte[] passwordEncrypted)

Sets the value of the PasswordEncrypted attribute.

Parameters:
passwordEncrypted - The encrypted value of the password
See Also:
SAFLoginContextBean.getPasswordEncrypted()
Changes take effect after you redeploy the module or restart the server.

getPassword

String getPassword()

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

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

Returns:
password for the username associated with this SAFLoginContext

setPassword

void setPassword(String password)
                 throws IllegalArgumentException

Sets the value of the Password attribute.

Parameters:
password -
Throws:
IllegalArgumentException
See Also:
SAFLoginContextBean.getPassword()
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