Note:
Extension of the classes in this package is prohibited unless otherwise documented. Similarly, extension or implementation of the interfaces in this package is prohibited except as documented.

Package com.sas.util.login

The primary focus of the com.sas.util.login package is the Login Bean, which provides a way to define properties and behaviors associated with the process of logging into some system.

See:
          Description

Class Summary
LoginBeanBIPValidate The LoginBeanBIPValidate class is an implementation of the LoginBeanValidateInterface for the SAS Foundation Services.
LoginBeanCFBValidate The LoginBeanCFBValidate class is an implementation of the LoginBeanValidateInterface for com.sas.util.connection.ConnectionFactoryBean.
LoginBeanSwingUtil The LoginBeanSwingUtil class is a Swing utility class for the LoginBean.
 

Package com.sas.util.login Description

The primary focus of the com.sas.util.login package is the Login Bean, which provides a way to define properties and behaviors associated with the process of logging into some system.

Login Bean

Overview

The LoginBean class is a model encapsulating the properties and behaviors of a user's attempts to login to a system. The specifics of the system are intentionally omitted to allow for a general purpose bean.

Since the bean is a model, it needs to be associated with some viewer to be useful. The LoginBeanSwingUtil class in this package can create a Swing panel using the properties set on a LoginBean. It also has a static showDialog convenience method which will create and display a Swing dialog with the Swing panel it creates.

The LoginBeanActionInterface is located in this package and is implemented by the LoginBeanSwingUtil class. This interface defines a set of methods which act as notification of Action events within the LoginBean. Action events consist of notifications that can occur during the lifetime of the login bean, such as OK, Cancel, Close, Success, Failure and Retry attempts.

The LoginBeanValidateInterface is located in this package and is implemented by the LoginBeanBIPValidate and LoginBeanCFBValidate classes, also in this package. This interface performs validation of credentials entered in via the LoginBean.

The LoginBeanBIPValidate class is an implementation of the LoginBeanValidateInterface for the SAS Foundation Services. It performs login credential validation for the services. This class can be set as a validation handler for the LoginBean and the bean will then perform Foundation Services validation for the credentials entered in by the user.

The LoginBeanCFBValidate class is an implementation of the LoginBeanValidateInterface for com.sas.util.connection.ConnectionFactoryBean. It performs login credential validation for the com.sas.services.connection.ConnectionFactory represented by the bean. This class can be set as a validation handler for the LoginBean and the bean will then perform ConnectionFactory validation for the credentials entered in by the user.

 


Note:
Extension of the classes in this package is prohibited unless otherwise documented. Similarly, extension or implementation of the interfaces in this package is prohibited except as documented.


Copyright © 2009 SAS Institute Inc. All Rights Reserved.