|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.hermesftp.console.ConsoleServerImpl
public class ConsoleServerImpl
Web based administration console. The console is powered by an embedded jetty web server.
Constructor Summary | |
---|---|
ConsoleServerImpl()
|
Method Summary | |
---|---|
protected void |
configureRealm(org.mortbay.jetty.security.UserRealm realm)
Configures the security realm. |
protected void |
configureSecurity(org.mortbay.jetty.servlet.Context ctx)
Configures the Console security. |
int |
getPort()
Getter method for property port . |
org.mortbay.jetty.security.UserRealm |
getRealm()
Getter methode for property realm . |
java.util.Map<java.lang.String,javax.servlet.Servlet> |
getServlets()
Getter method for property servlets . |
UserManager |
getUserManager()
Getter method for property userManager . |
void |
setPort(int port)
Setter methode for property port . |
void |
setRealm(org.mortbay.jetty.security.UserRealm realm)
Setter methode for property realm . |
void |
setServlets(java.util.Map<java.lang.String,javax.servlet.Servlet> servlets)
Setter methode for property servlets . |
void |
setUserManager(UserManager userManager)
Setter methode for property userManager . |
void |
start()
Starts the console. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConsoleServerImpl()
Method Detail |
---|
public void start() throws FtpConsoleException
start
in interface ConsoleServer
FtpConsoleException
- Error thrown by embedded web server.protected void configureSecurity(org.mortbay.jetty.servlet.Context ctx) throws FtpConfigException
ctx
- The Web context.
FtpConfigException
- Error in configuration.protected void configureRealm(org.mortbay.jetty.security.UserRealm realm) throws FtpConfigException
realm
- The realm to configure.
FtpConfigException
- Error due to an flow in the configuration.public int getPort()
port
.
port
.public void setPort(int port)
port
.
port
- Value for port
.public org.mortbay.jetty.security.UserRealm getRealm()
realm
.
realm
.public void setRealm(org.mortbay.jetty.security.UserRealm realm)
realm
.
realm
- Value for realm
.public java.util.Map<java.lang.String,javax.servlet.Servlet> getServlets()
servlets
.
servlets
.public void setServlets(java.util.Map<java.lang.String,javax.servlet.Servlet> servlets)
servlets
.
servlets
- Value for servlets
.public UserManager getUserManager()
userManager
.
userManager
.public void setUserManager(UserManager userManager)
userManager
.
userManager
- Value for userManager
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |