|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsshvncfileaccessablility.listPanel.ButtonListener
public class listPanel.ButtonListener
when submit button is clicked check for the user or group in the /etc/group file for group and the /etc/passwd for user, then once confirmed user attempt to set acl to --- for all files selected
Constructor Summary | |
---|---|
listPanel.ButtonListener()
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent E)
verfies that the user or group is in the system then sets all the acls when the submit button is clicked |
private boolean |
isUserGroup(java.lang.String Name,
boolean isGroup)
checks the name to see if it is in the system Group or User depending of the selection of the user |
private boolean |
setAcl(java.lang.String Name,
boolean isGroup)
set all the check and unchecked acls. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public listPanel.ButtonListener()
Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent E)
actionPerformed
in interface java.awt.event.ActionListener
E
- the action event that was performedprivate boolean setAcl(java.lang.String Name, boolean isGroup)
Name
- a String for the user name or group nameisGroup
- a boolean value to determine if the Name paramater is a group or a user
private boolean isUserGroup(java.lang.String Name, boolean isGroup)
Name
- a String for the user name or group nameisGroup
- a boolean value to determine if the Name paramater is a group or a user
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |