Abstract
Not too long ago, someone asked me how difficult it would be to generate a security configuration report, similar to what is available from the WebSphere administration console. This chapter explores the creation of such an application to display the security report in a user-friendly way, all the while using the techniques that you’ve learned so far. This will allow the users to interact with the information in a way that provides a better understanding of the security-related configuration information for a WebSphere Application Server.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
The -lang jython command-line option is needed only if you haven’t changed the default scripting language in the appropriat wsadmin.properties file. The -conntype none option tells wsadmin to execute in local mode, so no connection is attempted to a possibly inactive application server. It is important to remember that the command should appear on a single line. The backslash\isn’t actually part of the command and should not be entered.
- 2.
In fact, this information is how the reportSectionSize.py script processes the data to determine the number and sizes of the report sections.
- 3.
- 4.
You can display the value returned by vPort.getClass(),which tells you that the variable refers to an instance of javax.swing.JViewport.
- 5.
- 6.
- 7.
- 8.
Note that a different color scheme indicates when a section row is selected (as you can see on the last row of the table).
- 9.
wsadmin -conntype none -lang jython
- 10.
text = AdminTask.generateSecConfigReport()
- 11.
Note the use of the isDone() method on line 370, which is used to determination when the background task is complete.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2015 Robert A. Gibson
About this chapter
Cite this chapter
Gibson, R. (2015). A Security Configuration Report Application. In: Swing for Jython. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0817-5_21
Download citation
DOI: https://doi.org/10.1007/978-1-4842-0817-5_21
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-0818-2
Online ISBN: 978-1-4842-0817-5
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)