kaos.kpat.tabs
Class UserAdministrationTab
java.lang.Object
kaos.kpat.tabs.UserAdministrationTab
- All Implemented Interfaces:
- RefreshListener, PolicyTemplateFactory.TemplateFactoryListener, TabPanel
public class UserAdministrationTab
- extends java.lang.Object
- implements TabPanel, RefreshListener, PolicyTemplateFactory.TemplateFactoryListener
Date: Jan 28, 2008
Time: 11:27:08 AM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_userDatabase
protected java.util.Hashtable _userDatabase
_addBtn
protected javax.swing.JButton _addBtn
_cancelBtn
protected javax.swing.JButton _cancelBtn
_editBtn
protected javax.swing.JButton _editBtn
_removeBtn
protected javax.swing.JButton _removeBtn
_roleComboBox
protected javax.swing.JComboBox _roleComboBox
_roleComboModel
protected javax.swing.DefaultComboBoxModel _roleComboModel
_templateList
protected javax.swing.JList _templateList
_userList
protected javax.swing.JList _userList
_tabList
protected javax.swing.JList _tabList
_templateListModel
protected javax.swing.DefaultListModel _templateListModel
_userListModel
protected javax.swing.DefaultListModel _userListModel
_tabListModel
protected javax.swing.DefaultListModel _tabListModel
_leftPanel
protected javax.swing.JPanel _leftPanel
_rightPanel
protected javax.swing.JPanel _rightPanel
_passwField
protected javax.swing.JPasswordField _passwField
_splitPane
protected javax.swing.JSplitPane _splitPane
_userTextField
protected javax.swing.JTextField _userTextField
_userSelected
protected java.lang.String _userSelected
_currentUser
protected java.lang.String _currentUser
_tunnelClient
protected TunnelClient _tunnelClient
_defaultTabsArray
protected java.util.Map _defaultTabsArray
UserAdministrationTab
public UserAdministrationTab()
initialize
public void initialize(KPATApplet applet,
TunnelClient tunnelClient)
- Specified by:
initialize
in interface TabPanel
getName
public java.lang.String getName()
- Specified by:
getName
in interface TabPanel
getDisplayComponent
public java.awt.Component getDisplayComponent()
- Specified by:
getDisplayComponent
in interface TabPanel
createGui
protected void createGui()
setSelectionTabByPrivileges
protected void setSelectionTabByPrivileges(java.lang.String privilege)
getPolicyTemplatesFromDS
protected void getPolicyTemplatesFromDS()
getPolicyTemplatesByUser
protected java.util.Vector getPolicyTemplatesByUser(java.lang.String username)
addListOfPrivileges
protected void addListOfPrivileges()
clearTab
protected void clearTab()
addTemplate
public void addTemplate(PolicyTemplate template)
- Specified by:
addTemplate
in interface PolicyTemplateFactory.TemplateFactoryListener
removeTemplate
public void removeTemplate(PolicyTemplate template)
- Specified by:
removeTemplate
in interface PolicyTemplateFactory.TemplateFactoryListener
refreshOccurred
public void refreshOccurred()
- Specified by:
refreshOccurred
in interface RefreshListener
updateNameList
protected void updateNameList()
getTabsSelectedVector
protected java.util.Vector getTabsSelectedVector(java.lang.Object[] selectedTabsArray)
getShortName
protected java.lang.String getShortName(java.lang.String longName)
getLongNameVector
protected java.util.Vector getLongNameVector(java.util.Vector tabVector)
selectTemplateNamesByUser
protected void selectTemplateNamesByUser(java.util.Vector templateVector,
java.lang.String username)