|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.owasp.orizon.O
org.owasp.orizon.Session
public class Session
This class models a code review session. Users ask for a code review specifying if it must be performed over a single source file, some files or a full directory. An Orizon session will containing all information about input files to be analyzed by Orizon. The Session object is also responsible about managing report Folder object. A Folder is a container of Report object, and can be used to have a complete source code assessment report generation. With the Mirage engine, it is now its task to open the web application, reading the files and create SessionInfos. It will be also forbid to scan a single source file. Before version 1.1, it was Session to manage SessionInfo(s) values trying to figure it out which kind of input is issued. Starting by version 1.1, Mirage will open the web application directory, scanning for sources and creating SessionInfos... So Skyline will ask Mirage to open the input files and Mirage will feed Session object. So, this is the workflow:
Folder
Field Summary |
---|
Fields inherited from class org.owasp.orizon.O |
---|
base64, hasName, initialized, line_start, line_stop, log, reduced, what |
Constructor Summary | |
---|---|
Session(java.util.HashMap<java.lang.String,java.lang.String> p)
Create a new Session. |
Method Summary | |
---|---|
boolean |
crawl()
Crawl a web application for dangerous keyword. |
java.lang.String |
generateReport(Formatter f)
|
int |
getFilesInSession()
|
int |
getIssues()
|
Mirage |
getMirageEngine()
|
java.lang.String |
getProperty(java.lang.String key)
|
Folder |
getRawScanResults()
|
boolean |
init()
This method is called by Skyline during startup. |
boolean |
isActive()
|
boolean |
isModelComplete()
|
boolean |
isModeled()
|
boolean |
isOpened()
|
boolean |
list()
|
boolean |
model()
|
boolean |
open()
Open a web application. |
boolean |
readXmlNode(org.w3c.dom.Node n)
As far from version 0.62 all items must be responsible for XML Node reading routine. |
boolean |
search(java.lang.String qString)
|
void |
setOutputChannel(java.io.PrintWriter out)
|
void |
setReader(ConsoleReader reader)
|
void |
setUI(CommonUI ui)
|
java.lang.String |
stats()
|
Methods inherited from class org.owasp.orizon.O |
---|
clone, getStartLine, getStopLine, isCompatible, isInitialized, setStartLine, setStopLine, trackThis |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Session(java.util.HashMap<java.lang.String,java.lang.String> p)
Method Detail |
---|
public void setUI(CommonUI ui)
public void setOutputChannel(java.io.PrintWriter out)
public boolean open()
public java.lang.String stats()
public boolean model()
public boolean crawl()
public int getIssues()
public boolean init()
public java.lang.String generateReport(Formatter f)
public java.lang.String getProperty(java.lang.String key)
public boolean isActive()
public int getFilesInSession()
public boolean readXmlNode(org.w3c.dom.Node n)
O
readXmlNode
in class O
n
- the node being read
public boolean isOpened()
public boolean isModeled()
public boolean isModelComplete()
public Folder getRawScanResults()
public boolean list()
public boolean search(java.lang.String qString)
public void setReader(ConsoleReader reader)
public Mirage getMirageEngine()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |