|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IModeratorController
| Method Summary | |
|---|---|
void |
banIp(INode node,
java.util.Date banExpires)
Ban the ip of the given INode. |
void |
boot(INode node)
Boot the given INode from the network. |
java.lang.String |
getIpAndAliases(INode node)
|
boolean |
isAdmin()
Is the current user an admin. |
boolean |
setPassword(INode node,
java.lang.String hashedPassword)
Reset the password of the given user. returning true if the password was updated. |
| Method Detail |
|---|
void boot(INode node)
This method can only be called by admin users.
void banIp(INode node,
java.util.Date banExpires)
boolean setPassword(INode node,
java.lang.String hashedPassword)
You cannot change the password of an anonymous node, and you cannot change the password for an admin user.
java.lang.String getIpAndAliases(INode node)
boolean isAdmin()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||