All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.beans.samples.dips.sessauth.SessionAuthenticationDipCustomizer
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----com.ibm.beans.samples.dips.sessauth.SessionAuthenticationDipCustomizer
- public class SessionAuthenticationDipCustomizer
- extends Panel
- implements Customizer, ActionListener
This object allows customization of the Session Authentication Dip using an AWT-based
interaction with a user. The three items that are customizable are the class names
to be used for the:
- Principal
- Principal query
- Authenticator
- See Also:
- SAPrincipal, SAPrincipalQuery, SAAuthenticator
-
SessionAuthenticationDipCustomizer()
- Constructs the Session Authentication Customizer.
-
actionPerformed(ActionEvent)
- Handle the Apply and Cancel buttons.
-
addPropertyChangeListener(PropertyChangeListener)
- Registers a listener for the PropertyChange event.
-
getPreferredSize()
- Returns this panel's preferred width and height.
-
removePropertyChangeListener(PropertyChangeListener)
- Removes the listener from the list of objects to be notified when this
customizer changes a property in the Session Authentication dip.
-
setObject(Object)
- Sets the Session Authentication Dip object that this customizer is to customize.
SessionAuthenticationDipCustomizer
public SessionAuthenticationDipCustomizer()
- Constructs the Session Authentication Customizer.
setObject
public void setObject(Object objectToCustomize)
- Sets the Session Authentication Dip object that this customizer is to customize.
- Parameters:
- objectToCustomize - The SessionAuthenticationDip instance to customize.
getPreferredSize
public Dimension getPreferredSize()
- Returns this panel's preferred width and height.
- Returns:
- A Dimension structure containing this panel's preferred width and height.
- Overrides:
- getPreferredSize in class Container
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Registers a listener for the PropertyChange event.
This customizer fires a PropertyChange
event when it changes the Session Authentication dip such that
the displayed properties are to be refreshed.
- Parameters:
- listener - The object to be notified when this customizer changes a property.
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Removes the listener from the list of objects to be notified when this
customizer changes a property in the Session Authentication dip.
- Parameters:
- listener - The object to be removed from the list of listeners.
actionPerformed
public void actionPerformed(ActionEvent event)
- Handle the Apply and Cancel buttons.
- Parameters:
- event - The event that describes which action was performed.
All Packages Class Hierarchy This Package Previous Next Index