com.tivoli.pd.jazn.LRAdemo
Class LRAuthzDemo2

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Window
              extended byjava.awt.Frame
                  extended byjavax.swing.JFrame
                      extended bycom.tivoli.pd.jazn.LRAdemo.LRAuthzDemo2
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants

public class LRAuthzDemo2
extends javax.swing.JFrame

This class provides the main gui interface for the LRADemo program. The demo configures a user, some objects, ACL, POP, and authzrule to allow access decisions on the objects.

Part of the testing involves running the decisions in both local and remote modes. Each mode requires it's own application name which is used to register it's server. Unique ports for each mode instance are also required. The same policy and acld server is used for each server and since the overall application handles both servers, the same application server is used.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.JFrame
EXIT_ON_CLOSE
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
LRAuthzDemo2()
          This is the default constructor
 
Method Summary
 char[] getJPF_sec_master_password_chararr()
          This method returns the sec_master password as a character array (char[])
 java.lang.String getJTF_acld_server_name()
          This method returns the acld server name as a String
 java.lang.String getJTF_appl_server_host_text()
          This method returns the application's server host as a String
 java.lang.String getJTF_default_suffix_text()
          This method returns default suffix field of panel as a String
 java.lang.String getJTF_local_appName_text()
          This method initializes jTextField
 int getJTF_local_port_int()
          This method returns the port for the local server as an integer.
 int getJTF_num_groups_int()
          This method returns the number of groups as an integer.
 java.lang.String getJTF_policy_server_name()
          This method returns the policy server name as a String
 java.lang.String getJTF_remote_appName_text()
          This method returns the remote application name as a String
 int getJTF_remote_port_int()
          This method returns the port for the remote server as an integer.
 java.lang.String getJTF_sec_master_text()
          This method returns the name of the sec_master as a String
 java.lang.String getJTF_working_dir_text()
          This method returns the working directory as a String
 
Methods inherited from class javax.swing.JFrame
getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, update
 
Methods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, removeAll, removeContainerListener, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Constructor Detail

LRAuthzDemo2

public LRAuthzDemo2()
This is the default constructor

Method Detail

getJTF_local_appName_text

public java.lang.String getJTF_local_appName_text()
This method initializes jTextField

Returns:
javax.swing.JTextField

getJTF_remote_appName_text

public java.lang.String getJTF_remote_appName_text()
This method returns the remote application name as a String

Returns:
String remote_appName

getJTF_local_port_int

public int getJTF_local_port_int()
This method returns the port for the local server as an integer.

Returns:
int local_port

getJTF_remote_port_int

public int getJTF_remote_port_int()
This method returns the port for the remote server as an integer.

Returns:
int remote_port

getJTF_acld_server_name

public java.lang.String getJTF_acld_server_name()
This method returns the acld server name as a String

Returns:
String acld_server_name

getJTF_working_dir_text

public java.lang.String getJTF_working_dir_text()
This method returns the working directory as a String

Returns:
String working_directory

getJTF_appl_server_host_text

public java.lang.String getJTF_appl_server_host_text()
This method returns the application's server host as a String

Returns:
String server_hostname

getJTF_sec_master_text

public java.lang.String getJTF_sec_master_text()
This method returns the name of the sec_master as a String

Returns:
String sec_master

getJPF_sec_master_password_chararr

public char[] getJPF_sec_master_password_chararr()
This method returns the sec_master password as a character array (char[])

Returns:
char [] sec_master_password

getJTF_num_groups_int

public int getJTF_num_groups_int()
This method returns the number of groups as an integer.

Returns:
int num_groups

getJTF_policy_server_name

public java.lang.String getJTF_policy_server_name()
This method returns the policy server name as a String

Returns:
String policy_server_name

getJTF_default_suffix_text

public java.lang.String getJTF_default_suffix_text()
This method returns default suffix field of panel as a String

Returns:
String default_suffix