Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


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.


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

 

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()

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

getPasswordEncrypted

byte[] getPasswordEncrypted()

The encrypted value of the password.

Returns:
The encrypted password

setPasswordEncrypted

void setPasswordEncrypted(byte[] passwordEncrypted)

Sets the value of the PasswordEncrypted attribute.

Parameters:
passwordEncrypted - The encrypted value of the password
See Also:
SAFLoginContextBean.getPasswordEncrypted()

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()

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09