tangyong / glassfish-16998 Goto Github PK
View Code? Open in Web Editor NEWSecure OSGi shell port
Secure OSGi shell port
1 "Turn off" org.apache.felix.shell.remote bundle
Just as Richard S. Hall said:
"From an OSGi perspective, the way to administratively turn off a bundle
is to stop it or not deploy it. "
I think that Stoping shell.remote bundle is a better way on the current
gf architecture.
Because on the current gf's code, GlassFishActivator class and
GlassFishActivator.startPostStartupBundles() have not been existed, I
think that the better way is to modify OSGiGlassFishRuntimeBuilder.build
method and add the logic to stop org.apache.felix.shell.remote bundle
behind "framework.start()" .
2 provide a way to administratively turn on shell.remote bundle
Just as said on GLASSFISH-13006, felix shell is also important not only
for framework developers(re-develop based gf), but also for OSGi app
developers.However, also need to consider people who are not interested
in OSGi. In addition, considering administrative and security aspects, I
think that:
Supporting a admin cli command for turning on shell.remote bundle,
liking the following:
asadmin start-felixremoteshell --telnet.port --portsavedfile
About design of the command,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.