git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@50874 248e525c-4dfb-0310-94bc-949c084e9493

This commit is contained in:
andrew.gilmore
2012-03-19 11:57:19 +00:00
parent 2a0f4900c3
commit 0e9ca75d77
1587 changed files with 500863 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -0,0 +1,32 @@
<launch4jConfig>
<dontWrapJar>false</dontWrapJar>
<headerType>0</headerType>
<jar>C:\Subversion\eft\nominations\java\Timestamp Util\ts\build\amtsauth.jar</jar>
<outfile>C:\Subversion\eft\nominations\java\Timestamp Util\ts\build\amtsauth.exe</outfile>
<errTitle>amtsauth: Error</errTitle>
<jarArgs></jarArgs>
<chdir></chdir>
<customProcName>true</customProcName>
<stayAlive>false</stayAlive>
<icon>C:\Subversion\eft\nominations\java\Timestamp Util\ts\launch4j\favicon.ico</icon>
<jre>
<path></path>
<minVersion>1.3.0</minVersion>
<maxVersion></maxVersion>
<initialHeapSize>0</initialHeapSize>
<maxHeapSize>50</maxHeapSize>
<args></args>
</jre>
<versionInfo>
<fileVersion>2.7.2.1</fileVersion>
<txtFileVersion>2.7.2</txtFileVersion>
<fileDescription>Access Manager Timestamp Authentication</fileDescription>
<copyright>Copyright (C) 2008, Advantica Ltd</copyright>
<productVersion>2.7.2.1</productVersion>
<txtProductVersion>2.7.2</txtProductVersion>
<productName>Access Manager Timestamp Authentication</productName>
<companyName>http://www.advanticagroup.com</companyName>
<internalName>amtsauth</internalName>
<originalFilename>amtsauth.exe</originalFilename>
</versionInfo>
</launch4jConfig>

View File

@@ -0,0 +1,4 @@
src - contains the java source code, two projects, main being a dummy calling class. Also includes the BC jar files
build - containts the one-jar setup and jar file
launch4j - contains the setup file and icon for the build
exe - contains the latest exe

View File

@@ -0,0 +1,38 @@
<?xml version = '1.0' encoding = 'UTF-8'?>
<simple-archive-deployment nselem="simple-archive-deployment" class="oracle.jdeveloper.deploy.jar.ArchiveProfile" xmlns="http://xmlns.oracle.com/jdeveloper/10120/deploy/jar">
<archiveOptions>
<additionalManifests/>
<compressed>false</compressed>
<hasManifest>true</hasManifest>
<mainClass>AccessManager.amTSAuthenticate</mainClass>
</archiveOptions>
<fileGroups>
<groups>
<Item class="oracle.jdeveloper.deploy.common.PackagingFileGroup" internalName="project-output">
<contributors>
<Item type="2"/>
<Item type="7"/>
</contributors>
<displayName>amtsauth</displayName>
<filters>
<rules>
<Item type="1" pattern="META-INF/"/>
<Item type="1" pattern="AccessManager/.svn/"/>
<Item type="1" pattern=".svn/"/>
<Item type="1" pattern="AccessManager/amresourcebundle_hu.properties.OLD"/>
<Item type="1" pattern="**/CVS/"/>
<Item type="1" pattern="**.cdi"/>
<Item type="1" pattern="**.contrib"/>
<Item type="1" pattern="**.keep"/>
<Item type="1" pattern="**.rvi"/>
<Item type="1" pattern=".jsps/"/>
<Item type="0" pattern="**"/>
</rules>
</filters>
<targetWithinJar/>
</Item>
</groups>
</fileGroups>
<jarURL path="deploy/amtsauth.jar"/>
<profileDeps/>
</simple-archive-deployment>

View File

@@ -0,0 +1,323 @@
<?xml version = '1.0' encoding = 'UTF-8'?>
<project nselem="project" class="oracle.jdeveloper.model.JProject" xmlns="http://xmlns.oracle.com/jdeveloper/10120/jproject">
<defaultPackage>AccessManager</defaultPackage>
<defaultPackages class="java.util.ArrayList">
<Item class="java.lang.String">AccessManager</Item>
<Item class="java.lang.String">mypackage1</Item>
</defaultPackages>
<dependencyList/>
<htmlRootDirectory path="public_html/"/>
<j2eeWebAppName>Application1-amtsauthenticate-webapp</j2eeWebAppName>
<j2eeWebContextRoot>Application1-amtsauthenticate-context-root</j2eeWebContextRoot>
<listOfChildren class="oracle.ide.model.DataList">
<Item class="oracle.ide.model.Reference">
<URL path="src/AccessManager/amresourcebundle_en.properties"/>
<nodeClass>oracle.ide.model.DeployableTextNode</nodeClass>
</Item>
<Item class="oracle.ide.model.Reference">
<URL path="src/AccessManager/amresourcebundle_hu.properties"/>
<nodeClass>oracle.ide.model.DeployableTextNode</nodeClass>
</Item>
<Item class="oracle.ide.model.Reference">
<URL path="src/AccessManager/amresourcebundle.properties"/>
<nodeClass>oracle.ide.model.DeployableTextNode</nodeClass>
</Item>
<Item class="oracle.ide.model.Reference">
<URL path="amtsauth.deploy"/>
<nodeClass>oracle.ide.model.XMLDataNode</nodeClass>
</Item>
<Item class="oracle.ide.model.Reference">
<URL path="src/AccessManager/amTSAuthenticate.java"/>
<nodeClass>oracle.jdeveloper.model.JavaSourceNode</nodeClass>
</Item>
<Item class="oracle.ide.model.Reference">
<URL path="src/AccessManager/favicon.gif"/>
<nodeClass>oracle.jdeveloper.model.GifImageNode</nodeClass>
</Item>
<Item class="oracle.ide.model.Reference">
<URL path="src/AccessManager/hashFile.java"/>
<nodeClass>oracle.jdeveloper.model.JavaSourceNode</nodeClass>
</Item>
<Item class="oracle.ide.model.Reference">
<URL path="src/AccessManager/mainFrame_AboutBoxPanel1.java"/>
<nodeClass>oracle.jdeveloper.model.JavaSourceNode</nodeClass>
</Item>
<Item class="oracle.ide.model.Reference">
<URL path="src/AccessManager/mainFrame.java"/>
<nodeClass>oracle.jdeveloper.model.JavaSourceNode</nodeClass>
</Item>
<Item class="oracle.ide.model.Reference">
<URL path="src/AccessManager/TimeStamp.java"/>
<nodeClass>oracle.jdeveloper.model.JavaSourceNode</nodeClass>
</Item>
<Item class="oracle.ide.model.Reference">
<URL path="src/AccessManager/TSException.java"/>
<nodeClass>oracle.jdeveloper.model.JavaSourceNode</nodeClass>
</Item>
</listOfChildren>
<ownerMap/>
<projectDocPath>
<entries class="[Ljava.net.URL;"/>
</projectDocPath>
<projectLibraryList class="oracle.jdeveloper.library.JProjectLibraryList">
<jdkList class="java.util.ArrayList"/>
<libraryList class="java.util.ArrayList"/>
</projectLibraryList>
<projectSettings>
<activeConfigName>Development</activeConfigName>
<commonData class="java.util.HashMap">
<Item>
<Key>oracle.bm.commonIde.data.project.ModelerProjectSettings</Key>
<Value class="oracle.bm.commonIde.data.project.ModelerProjectSettings">
<modelersPath>
<entries>
<Item path="model/"/>
</entries>
</modelersPath>
<modelersVersion>10.12</modelersVersion>
</Value>
</Item>
<Item>
<Key>oracle.jdeveloper.compiler.ant.AntConfiguration</Key>
<Value class="oracle.jdeveloper.compiler.ant.AntConfiguration">
<arguments class="java.lang.String"/>
<makeTarget/>
<projectBuildfile/>
<rebuildTarget/>
<showOutput>true</showOutput>
</Value>
</Item>
<Item>
<Key>oracle.jdeveloper.offlinedb.OfflineDBProjectSettings</Key>
<Value class="oracle.jdeveloper.offlinedb.OfflineDBProjectSettings">
<databasePath>
<entries>
<Item path="database/"/>
</entries>
</databasePath>
</Value>
</Item>
</commonData>
<configurations class="java.util.TreeMap">
<Item>
<Key>Development</Key>
<Value class="oracle.jdeveloper.model.JProjectConfiguration">
<configData class="java.util.HashMap">
<Item>
<Key>oracle.jdeveloper.compiler.OjcConfiguration</Key>
<Value class="oracle.jdeveloper.compiler.OjcConfiguration">
<assertionsEnabled>false</assertionsEnabled>
<copyRes>
<Item>.gif</Item>
<Item>.properties</Item>
<Item>.jpg</Item>
<Item>.jpeg</Item>
<Item>.xml</Item>
<Item>-apf.xml</Item>
<Item>.xcfg</Item>
<Item>.cpx</Item>
<Item>.css</Item>
<Item>.js</Item>
<Item>.png</Item>
<Item>.tld</Item>
</copyRes>
<debugInformation>true</debugInformation>
<excludedClasses class="[Ljava.lang.String;"/>
<internalEncoding>Cp1252</internalEncoding>
<obfuscate>false</obfuscate>
<reverseCopyRes>false</reverseCopyRes>
<showDeprecations>true</showDeprecations>
<showObjectDotStaticWarnings>false</showObjectDotStaticWarnings>
<showPartialImportWarnings>false</showPartialImportWarnings>
<showSelfDeprecations>true</showSelfDeprecations>
<showUnusedImportWarnings>false</showUnusedImportWarnings>
<showWarnings>true</showWarnings>
<target>Default</target>
<updateImports>false</updateImports>
<updateZipJarImports>false</updateZipJarImports>
</Value>
</Item>
<Item>
<Key>oracle.jdeveloper.javadoc.JProjectJavadoc</Key>
<Value class="oracle.jdeveloper.javadoc.JProjectJavadoc">
<embedDiagram>5</embedDiagram>
<genDiagramDoc>true</genDiagramDoc>
<generateAuthor>false</generateAuthor>
<generateDeprecated>true</generateDeprecated>
<generateIndex>true</generateIndex>
<generateNavbar>true</generateNavbar>
<generateSince>true</generateSince>
<generateTree>true</generateTree>
<generateVersion>false</generateVersion>
<heapSize>32</heapSize>
<imageFormat>1</imageFormat>
<miscOptions class="java.lang.String"/>
<oneOneFormat>false</oneOneFormat>
<outputDirectory path="javadoc/"/>
<scope>-protected</scope>
</Value>
</Item>
<Item>
<Key>oracle.jdeveloper.runner.RunConfiguration</Key>
<Value class="oracle.jdeveloper.runner.RunConfiguration">
<VMName>client</VMName>
<XSLTInputFileURL/>
<XSLTOutputFileURL/>
<allowInput>false</allowInput>
<alwaysUseTarget>false</alwaysUseTarget>
<clearLogBeforeRun>true</clearLogBeforeRun>
<compileBeforeRun>true</compileBeforeRun>
<connectionName/>
<javaOptions class="java.lang.String"/>
<logCommand>true</logCommand>
<logError>true</logError>
<logExit>true</logExit>
<logOutput>true</logOutput>
<programArguments class="java.lang.String"/>
<runActiveFile>true</runActiveFile>
<runDirectoryURL/>
<targetURL path="src/AccessManager/amTSAuthenticate.java"/>
<useProxy>true</useProxy>
</Value>
</Item>
<Item>
<Key>oracle.jdevimpl.config.JProjectLibraries</Key>
<Value class="oracle.jdevimpl.config.JProjectLibraries">
<jdkName>1.4.2_06</jdkName>
<jdkVersionNumber>1.4.2_06</jdkVersionNumber>
<libraries>BouncyCastleTimestamp</libraries>
</Value>
</Item>
<Item>
<Key>oracle.jdevimpl.config.JProjectPaths</Key>
<Value class="oracle.jdevimpl.config.JProjectPaths">
<additionalClassPath>
<entries class="[Ljava.net.URL;"/>
</additionalClassPath>
<outputDirectory path="classes/"/>
</Value>
</Item>
<Item>
<Key>oracle.jdevimpl.runner.codecoach.CCConfiguration</Key>
<Value class="oracle.jdevimpl.runner.codecoach.CCConfiguration">
<advices>ALL</advices>
<exclude>com;java;javax;sun;sunw;org;oracle</exclude>
<include class="java.lang.String"/>
<level>4</level>
</Value>
</Item>
<Item>
<Key>oracle.jdevimpl.runner.debug.DebugConfiguration</Key>
<Value class="oracle.jdevimpl.runner.debug.DebugConfiguration">
<JPDAClassicDebugArguments>-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=&lt;port></JPDAClassicDebugArguments>
<JPDADebugArguments>-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=&lt;port></JPDADebugArguments>
<OJVMDebugArguments>-XXdebug,quiet,port&lt;port></OJVMDebugArguments>
<breakpointScope>workspace</breakpointScope>
<remoteDebugging>false</remoteDebugging>
<remoteDebuggingParameters class="java.util.HashMap"/>
<remoteDebuggingParametersSaved>false</remoteDebuggingParametersSaved>
<remoteDebuggingProtocol>ojvm</remoteDebuggingProtocol>
<startOption>running</startOption>
<tracingDisabled>java;javax;sun;sunw;apple;com.apple;com.evermind;com.oracle;com.orionserver;com.sun;EDU.oswego;oracle.core;oracle.dms;oracle.ide;oracle.j2ee;oracle.jdbc;oracle.jdevimpl;oracle.jsp;oracle.oc4j;oracle.ojc;oracle.security;oracle.xml;org.omg;org.w3c;org.xml</tracingDisabled>
<tracingEnabled class="java.lang.String"/>
</Value>
</Item>
<Item>
<Key>oracle.jdevimpl.runner.profile.ProfileConfiguration</Key>
<Value class="oracle.jdevimpl.runner.profile.ProfileConfiguration">
<DMSstartID>20000</DMSstartID>
<DMSstate>0</DMSstate>
<eventColumnVisible>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
</eventColumnVisible>
<events>G(All events;(G(VM Events;(E(0;GC;-16776961;1);E(10;Wait;-65485;0);E(11;Synch Blocks 0;-39322;0);E(12;Synch Blocks 1;-39322;0);E(13;Synch Blocks 2;-39322;0);E(20;Prepare Class;-16751002;0);E(21;Load Class;-16724992;0);E(22;Resolve Class;-16737997;0);));G(BC4J Events;(E(1000;JBO_MISCELLANEOUS;-4144960;1);E(1001;JDBC_SELECT;-256;1);E(1002;JDBC_CREATE_STATEMENT;-256;1);E(1003;JDBC_CONNECT;-256;1);E(1004;JDBC_CREATE_PREPARED_STATEMENT;-256;1);E(1005;JDBC_EXECUTE;-256;1);E(1006;METAOBJECT_LOAD;-65281;1);E(1007;EXECUTE_QUERY;-16776961;1);E(1008;BC4J_CREATE_COMPOBJ;-65281;0);E(1009;BC4J_CREATE_ROOTAM;-65281;1);E(1010;BC4J_CREATE_VIEWOBJECT;-65281;0);E(1011;BC4J_CREATE_AM;-65281;0);E(1012;BC4J_CREATE_VIEWLINK;-65281;0);E(1013;SQLB_DOENTITYDML;-16776961;1);E(1014;SQLB_DOENTITYSELECT;-16776961;1);E(1015;VIEWOBJECT_GETSTATEMENT;-16776961;1);E(1016;REMOTE_METHOD_CALL;-65536;1);));));</events>
<excludedClasses>java;javax;sun;sunw;com;oracle</excludedClasses>
<excludedInstances class="java.lang.String"/>
<includedClasses class="java.lang.String"/>
<includedInstances class="java.lang.String"/>
<localProfiling>true</localProfiling>
<memColumnVisible>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
</memColumnVisible>
<memoryUpdateInterval>10</memoryUpdateInterval>
<remoteHost class="java.lang.String"/>
<remoteParametersSaved>false</remoteParametersSaved>
<remotePort>4000</remotePort>
<sampleColumnVisible>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
</sampleColumnVisible>
<sampleInterval>5</sampleInterval>
<sliderDepth>20</sliderDepth>
<useAPI>false</useAPI>
</Value>
</Item>
<Item>
<Key>oracle.jdevimpl.runner.xslt.XSLTConfiguration</Key>
<Value class="oracle.jdevimpl.runner.xslt.XSLTConfiguration">
<inputFileURL/>
<outputFileURL/>
<showInputFile>true</showInputFile>
<showOutputFile>true</showOutputFile>
<sourcePath>
<entries class="[Ljava.net.URL;"/>
</sourcePath>
</Value>
</Item>
<Item>
<Key>oracle.jdevimpl.sqlj.config.SqljConfiguration</Key>
<Value class="oracle.jdevimpl.sqlj.config.SqljConfiguration">
<additionalParameters class="java.lang.String"/>
<checkSemantics>false</checkSemantics>
<codegen>oracle</codegen>
<contextConnectionMap class="java.util.HashMap"/>
<contextName>&lt;none></contextName>
<useCache>false</useCache>
<warnAll>false</warnAll>
<warnNull>false</warnNull>
<warnPortable>false</warnPortable>
<warnPrecision>false</warnPrecision>
<warnStrict>false</warnStrict>
<warnVerbose>false</warnVerbose>
</Value>
</Item>
<Item>
<Key>WebappJspCompilerOptions</Key>
<Value class="oracle.jdevimpl.webapp.jsp.JspCompilerOptions">
<forgiveDuplicateDirectiveAttributes>false</forgiveDuplicateDirectiveAttributes>
<requestTimeIntrospection>false</requestTimeIntrospection>
<validate>true</validate>
<validateTLD>true</validateTLD>
</Value>
</Item>
</configData>
</Value>
</Item>
</configurations>
</projectSettings>
<projectSourcePath>
<entries>
<Item path="src/"/>
</entries>
</projectSourcePath>
<properties/>
</project>

View File

@@ -0,0 +1,25 @@
filebox1=Please select a file...
filebox2=Please select a file...
conffile=Confirmation File
timefile=Timestamp File
verify=Verify
title=Authenticate Timestamp
file=File
exit=Exit
help=Help
about=About
openconf=Open Confirmation File
opentime=Open Timestamp File
validts=Valid: timestamp is identical
invalidts=Invalid: file does not match timestamp
tsdetails=Timestamp:
exception=Exception occured.
about1=Authenticate Timestamp Utility
about2=Copyright Advantica Ltd 2008
fileopen=Open
filecancel=Cancel
filename=File Name
filelookin=Look In
filetype=Files Of Type
fileallfiles=All Files
dateformat=dd/MM/yyyy HH:mm:ss

View File

@@ -0,0 +1,25 @@
filebox1=Please select a file...
filebox2=Please select a file...
conffile=Confirmation File
timefile=Timestamp File
verify=Verify
title=Authenticate Timestamp
file=File
exit=Exit
help=Help
about=About
openconf=Open Confirmation File
opentime=Open Timestamp File
validts=Valid: timestamp is identical
invalidts=Invalid: file does not match timestamp
tsdetails=Timestamp:
exception=Exception occured.
about1=Authenticate Timestamp Utility
about2=Copyright Advantica Ltd 2008
fileopen=Open
filecancel=Cancel
filename=File Name
filelookin=Look In
filetype=Files Of Type
fileallfiles=All Files
dateformat=dd/MM/yyyy HH:mm:ss

View File

@@ -0,0 +1,25 @@
filebox1=K<EFBFBD>rem, v<>lasszon egy f<>jlt...
filebox2=K<EFBFBD>rem, v<>lasszon egy f<>jlt...
conffile=Visszaigazol<EFBFBD>s F<>jl
timefile=Id\u0151b<31>lyeg f<>jl
verify=Ellen\u0151rz<72>s
title=Id\u0151b<31>lyeg hiteles<65>t<EFBFBD>se
file=F<EFBFBD>jl
exit=Kil<EFBFBD>p<EFBFBD>s
help=S<EFBFBD>g<EFBFBD>
about=N<EFBFBD>vjegy
openconf=Visszaigazol<EFBFBD>s f<>jl megnyit<69>sa
opentime=Id\u0151b<31>lyeg f<>jl megnyit<69>sa
validts=<EFBFBD>rv<EFBFBD>nyes: Az id\u0151b<31>lyeg hiteles
invalidts=<EFBFBD>rv<EFBFBD>nytelen: A f<>jl nem egyezik az id\u0151b<31>lyeggel
tsdetails=Id\u0151b<31>lyeg:
exception=Probl<EFBFBD>ma l<>pett fel.
about1=Id\u0151b<31>lyeg hiteles<65>t\u0151 program
about2=Minden jog fenntartva, Advantica Ltd 2008
fileopen=Megnyit<EFBFBD>s
filecancel=M<EFBFBD>gsem
filename=F<EFBFBD>jln<EFBFBD>v
filelookin=Hely
filetype=F<EFBFBD>jlt<EFBFBD>pusok
fileallfiles=Minden f<>jl
dateformat=yyyy.MM.dd. HH:mm:ss

Binary file not shown.

After

Width:  |  Height:  |  Size: 656 B

View File

@@ -0,0 +1,5 @@
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE application-client PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.3//EN" "http://java.sun.com/dtd/application-client_1_3.dtd">
<application-client>
<display-name>amtsauthenticate-app-client</display-name>
</application-client>

View File

@@ -0,0 +1,20 @@
package AccessManager;
public class TSException extends Exception {
/** Creates a new instance of TSException */
public TSException() {
}
public TSException(String message) {
super(message);
}
public TSException(String message, Throwable cause) {
super(message, cause);
}
public TSException(Throwable cause) {
super(cause);
}
}

View File

@@ -0,0 +1,38 @@
package AccessManager;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import org.bouncycastle.tsp.*;
import org.bouncycastle.asn1.tsp.TimeStampResp;
import java.security.MessageDigest;
import java.io.InputStream;
public class TimeStamp {
private String time;
private Date date;
public TimeStamp() { }
public boolean verifyTimeStamp(byte[] hash, String Algorithm, InputStream tsdata, String dateFormatMask) throws TSException { // Basic TimeStamp verification
try {
TimeStampResponse TSResp = new TimeStampResponse(tsdata); // Generate a TimeStampResponse object from the raw data
TimeStampTokenInfo tsinfo = TSResp.getTimeStampToken().getTimeStampInfo(); // Get the valuable data from the timestamp
date = tsinfo.getGenTime();
SimpleDateFormat formatter = new SimpleDateFormat(dateFormatMask);
time = formatter.format(date);
MessageDigest d = MessageDigest.getInstance(Algorithm); // Get an SHA-1 handler
return d.isEqual(hash, tsinfo.getMessageImprintDigest()); // Return if the provided hash and the hash in the Timestamp is identical
} catch (Exception e) {
throw new TSException(e.getMessage()); // some expection occured, throw up
}
}
public String getTime() {
return time;
}
}

View File

@@ -0,0 +1,52 @@
package AccessManager;
import java.awt.Frame;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.swing.UIManager;
import java.awt.Dimension;
import java.awt.Toolkit;
public class amTSAuthenticate
{
public amTSAuthenticate()
{
Frame frame = new mainFrame();
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
Dimension frameSize = frame.getSize();
if (frameSize.height > screenSize.height)
{
frameSize.height = screenSize.height;
}
if (frameSize.width > screenSize.width)
{
frameSize.width = screenSize.width;
}
frame.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2);
frame.addWindowListener(new WindowAdapter()
{
public void windowClosing(WindowEvent e)
{
System.exit(0);
}
});
frame.setVisible(true);
}
/**
*
* @param args
*/
public static void main(String[] args)
{
try
{
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
}
catch(Exception e)
{
e.printStackTrace();
}
new amTSAuthenticate();
}
}

View File

@@ -0,0 +1,25 @@
filebox1=Please select a file...
filebox2=Please select a file...
conffile=Confirmation File
timefile=Timestamp File
verify=Verify
title=Authenticate Timestamp
file=File
exit=Exit
help=Help
about=About
openconf=Open Confirmation File
opentime=Open Timestamp File
validts=Valid: timestamp is identical
invalidts=Invalid: file does not match timestamp
tsdetails=Timestamp:
exception=Exception occured.
about1=Authenticate Timestamp Utility
about2=Copyright Advantica Ltd 2008
fileopen=Open
filecancel=Cancel
filename=File Name
filelookin=Look In
filetype=Files Of Type
fileallfiles=All Files
dateformat=dd/MM/yyyy HH:mm:ss

View File

@@ -0,0 +1,25 @@
filebox1=Please select a file...
filebox2=Please select a file...
conffile=Confirmation File
timefile=Timestamp File
verify=Verify
title=Authenticate Timestamp
file=File
exit=Exit
help=Help
about=About
openconf=Open Confirmation File
opentime=Open Timestamp File
validts=Valid: timestamp is identical
invalidts=Invalid: file does not match timestamp
tsdetails=Timestamp:
exception=Exception occured.
about1=Authenticate Timestamp Utility
about2=Copyright Advantica Ltd 2008
fileopen=Open
filecancel=Cancel
filename=File Name
filelookin=Look In
filetype=Files Of Type
fileallfiles=All Files
dateformat=dd/MM/yyyy HH:mm:ss

View File

@@ -0,0 +1,25 @@
filebox1=K<EFBFBD>rem, v<>lasszon egy f<>jlt...
filebox2=K<EFBFBD>rem, v<>lasszon egy f<>jlt...
conffile=Visszaigazol<EFBFBD>s F<>jl
timefile=Id\u0151b<31>lyeg f<>jl
verify=Ellen\u0151rz<72>s
title=Id\u0151b<31>lyeg hiteles<65>t<EFBFBD>se
file=F<EFBFBD>jl
exit=Kil<EFBFBD>p<EFBFBD>s
help=S<EFBFBD>g<EFBFBD>
about=N<EFBFBD>vjegy
openconf=Visszaigazol<EFBFBD>s f<>jl megnyit<69>sa
opentime=Id\u0151b<31>lyeg f<>jl megnyit<69>sa
validts=<EFBFBD>rv<EFBFBD>nyes: Az id\u0151b<31>lyeg hiteles
invalidts=<EFBFBD>rv<EFBFBD>nytelen: A f<>jl nem egyezik az id\u0151b<31>lyeggel
tsdetails=Id\u0151b<31>lyeg:
exception=Probl<EFBFBD>ma l<>pett fel.
about1=Id\u0151b<31>lyeg hiteles<65>t\u0151 program
about2=Minden jog fenntartva, Advantica Ltd 2008
fileopen=Megnyit<EFBFBD>s
filecancel=M<EFBFBD>gsem
filename=F<EFBFBD>jln<EFBFBD>v
filelookin=Hely
filetype=F<EFBFBD>jlt<EFBFBD>pusok
fileallfiles=Minden f<>jl
dateformat=yyyy.MM.dd. HH:mm:ss

Binary file not shown.

After

Width:  |  Height:  |  Size: 656 B

View File

@@ -0,0 +1,25 @@
package AccessManager;
import java.security.MessageDigest;
import java.io.FileInputStream;
public class hashFile {
/* Creates a new instance of HashFile */
public hashFile() { }
public static byte[] getHash(String Filename, String Algorithm) {
try {
MessageDigest d = MessageDigest.getInstance(Algorithm); // Get a hash handler
FileInputStream f = new FileInputStream(Filename); // open file for hashing
byte[] b = new byte[1];
while ( -1 != f.read(b, 0, 1)) // feed the message digester
d.update(b);
f.close();
return d.digest(); // get the final hash and return it
} catch (Exception e) {
return null;
}
}
}

View File

@@ -0,0 +1,229 @@
package AccessManager;
import java.awt.Image;
import java.text.DateFormat;
import java.util.Locale;
import java.util.ResourceBundle;
import javax.swing.ImageIcon;
import javax.swing.JComponent;
import javax.swing.JFileChooser;
import javax.swing.JFrame;
import java.awt.BorderLayout;
import javax.swing.JPanel;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JOptionPane;
import java.io.FileFilter;
import javax.swing.JFormattedTextField;
import java.awt.Rectangle;
import javax.swing.JButton;
import java.awt.Font;
import java.io.File;
import java.io.FileInputStream;
import java.security.MessageDigest;
import javax.swing.UIManager;
public class mainFrame extends JFrame
{
private JLabel statusBar = new JLabel();
private JMenuItem menuHelpAbout = new JMenuItem();
private JMenu menuHelp = new JMenu();
private JMenuItem menuFileExit = new JMenuItem();
private JMenu menuFile = new JMenu();
private JMenuBar menuBar = new JMenuBar();
private JPanel panelCenter = new JPanel();
private BorderLayout layoutMain = new BorderLayout();
private JFormattedTextField l_conf_file = new JFormattedTextField();
private JFormattedTextField l_time_file = new JFormattedTextField();
private JButton l_conf_button = new JButton();
private JButton l_time_button = new JButton();
private JLabel d_conf_label = new JLabel();
private JLabel d_time_label = new JLabel();
private JButton l_verify_button = new JButton();
private JLabel d_hash_result = new JLabel();
private JLabel d_time_result = new JLabel();
private ResourceBundle rb = ResourceBundle.getBundle("AccessManager.amresourcebundle", Locale.getDefault());
public mainFrame()
{
try
{
jbInit();
}
catch(Exception e)
{
e.printStackTrace();
}
}
private void jbInit() throws Exception
{
Locale.setDefault(new Locale(System.getProperty("user.language"), System.getProperty("user.language")));
this.setJMenuBar(menuBar);
this.getContentPane().setLayout(layoutMain);
panelCenter.setLayout(null);
l_conf_file.setText(rb.getString("filebox1"));
l_conf_file.setBounds(new Rectangle(125, 20, 185, 20));
l_conf_file.setEnabled(false);
l_conf_file.setFocusable(false);
l_time_file.setText(rb.getString("filebox2"));
l_time_file.setBounds(new Rectangle(125, 55, 185, 20));
l_time_file.setEnabled(false);
l_time_file.setFocusable(false);
l_conf_button.setText("jButton1");
l_conf_button.setBounds(new Rectangle(310, 20, 20, 20));
l_conf_button.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent e)
{
showFilelistConf(e);
}
});
l_time_button.setText("jButton2");
l_time_button.setBounds(new Rectangle(310, 55, 20, 20));
l_time_button.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent e)
{
showFilelistTime(e);
}
});
d_conf_label.setText(rb.getString("conffile"));
d_conf_label.setBounds(new Rectangle(10, 20, 110, 20));
d_conf_label.setFont(new Font("SansSerif", 1, 12));
d_time_label.setText(rb.getString("timefile"));
d_time_label.setBounds(new Rectangle(10, 55, 110, 20));
d_time_label.setFont(new Font("SansSerif", 1, 12));
l_verify_button.setText(rb.getString("verify"));
l_verify_button.setBounds(new Rectangle(215, 90, 115, 25));
l_verify_button.setEnabled(false);
l_verify_button.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent e)
{
verifyTimestamp(e);
}
});
d_hash_result.setBounds(new Rectangle(10, 90, 230, 15));
d_time_result.setBounds(new Rectangle(10, 110, 235, 15));
this.setSize(new Dimension(348, 186));
this.setTitle(rb.getString("title"));
//this.setIconImage(new ImageIcon("favicon.gif").getImage());
menuFile.setText(rb.getString("file"));
menuFileExit.setText(rb.getString("exit"));
menuFileExit.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent ae)
{
fileExit_ActionPerformed(ae);
}
});
menuHelp.setText(rb.getString("help"));
menuHelpAbout.setText(rb.getString("about"));
menuHelpAbout.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent ae)
{
helpAbout_ActionPerformed(ae);
}
});
statusBar.setText("");
menuFile.add(menuFileExit);
menuBar.add(menuFile);
menuHelp.add(menuHelpAbout);
menuBar.add(menuHelp);
this.getContentPane().add(statusBar, BorderLayout.SOUTH);
this.getContentPane().add(panelCenter, BorderLayout.CENTER);
panelCenter.add(d_time_result, null);
panelCenter.add(d_hash_result, null);
panelCenter.add(l_verify_button, null);
panelCenter.add(d_time_label, null);
panelCenter.add(d_conf_label, null);
panelCenter.add(l_time_button, null);
panelCenter.add(l_conf_button, null);
panelCenter.add(l_time_file, null);
panelCenter.add(l_conf_file, null);
UIManager.put("FileChooser.openButtonText", rb.getString("fileopen"));
UIManager.put("FileChooser.openButtonText", rb.getString("fileopen"));
UIManager.put("FileChooser.cancelButtonText", rb.getString("filecancel"));
UIManager.put("FileChooser.fileNameLabelText", rb.getString("filename"));
UIManager.put("FileChooser.lookInLabelText", rb.getString("filelookin"));
UIManager.put("FileChooser.filesOfTypeLabelText", rb.getString("filetype"));
}
void fileExit_ActionPerformed(ActionEvent e)
{
System.exit(0);
}
void helpAbout_ActionPerformed(ActionEvent e)
{
JOptionPane.showMessageDialog(this, new mainFrame_AboutBoxPanel1(), rb.getString("about"), JOptionPane.PLAIN_MESSAGE);
}
private void checkVerify()
{
if ((l_conf_file.getText().compareTo(rb.getString("filebox1")) != 0 ) && (l_time_file.getText().compareTo(rb.getString("filebox1")) != 0))
{
l_verify_button.setEnabled(true);
}
}
private void showFilelistConf(ActionEvent e)
{
JFileChooser jFileChooser = new JFileChooser();
jFileChooser.setDialogTitle(rb.getString("openconf"));
jFileChooser.removeChoosableFileFilter(jFileChooser.getFileFilter());
int ret = jFileChooser.showOpenDialog(this);
if (ret == javax.swing.JFileChooser.APPROVE_OPTION) {
File f = jFileChooser.getSelectedFile();
l_conf_file.setText(f.getAbsolutePath());
l_conf_file.setToolTipText(f.getAbsolutePath());
checkVerify();
}
}
private void showFilelistTime(ActionEvent e)
{
JComponent.setDefaultLocale(Locale.getDefault());
JFileChooser jFileChooser = new JFileChooser();
jFileChooser.removeChoosableFileFilter(jFileChooser.getFileFilter());
jFileChooser.setDialogTitle(rb.getString("opentime"));
int ret = jFileChooser.showOpenDialog(this);
if (ret == javax.swing.JFileChooser.APPROVE_OPTION) {
File f = jFileChooser.getSelectedFile();
l_time_file.setText(f.getAbsolutePath());
l_time_file.setToolTipText(f.getAbsolutePath());
checkVerify();
}
}
private void verifyTimestamp(ActionEvent e)
{
byte[] hash = hashFile.getHash(l_conf_file.getText(), "SHA-1");
TimeStamp ts = new TimeStamp();
try {
FileInputStream in = new FileInputStream(l_time_file.getText());
if (ts.verifyTimeStamp(hash, "SHA-1", in, rb.getString("dateformat")))
d_hash_result.setText(rb.getString("validts"));
else
d_hash_result.setText(rb.getString("invalidts"));
d_time_result.setText(rb.getString("tsdetails") + " " + ts.getTime());
in.close();
} catch (Exception ex) {
javax.swing.JOptionPane.showMessageDialog(this, rb.getString("exception") + "\n" + ex.getMessage());
}
}
}

View File

@@ -0,0 +1,48 @@
package AccessManager;
import java.util.ResourceBundle;
import javax.swing.JPanel;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
import java.awt.Insets;
import javax.swing.border.Border;
import javax.swing.BorderFactory;
import javax.swing.JLabel;
import java.util.Locale;
public class mainFrame_AboutBoxPanel1 extends JPanel
{
private Border border = BorderFactory.createEtchedBorder();
private GridBagLayout layoutMain = new GridBagLayout();
private JLabel labelCompany = new JLabel();
private JLabel labelCopyright = new JLabel();
private JLabel labelAuthor = new JLabel();
private JLabel labelTitle = new JLabel();
private ResourceBundle rb = ResourceBundle.getBundle("AccessManager.amresourcebundle", Locale.getDefault());
public mainFrame_AboutBoxPanel1()
{
try
{
jbInit();
}
catch(Exception e)
{
e.printStackTrace();
}
}
private void jbInit() throws Exception
{
this.setLayout(layoutMain);
this.setBorder(border);
labelTitle.setText(rb.getString("about1"));
labelAuthor.setText(rb.getString("about2"));
labelCopyright.setText(System.getProperty("user.language"));
labelCompany.setText(Locale.getDefault().getDisplayName());
this.add(labelTitle, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5, 15, 0, 15), 0, 0));
this.add(labelAuthor, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 15, 0, 15), 0, 0));
this.add(labelCopyright, new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 15, 0, 15), 0, 0));
this.add(labelCompany, new GridBagConstraints(0, 3, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 15, 5, 15), 0, 0));
}
}

View File

@@ -0,0 +1,7 @@
title=Exemple
r0=Etats-Unis
r1=France
r2=Allemagne
rDefault=r1
btnQuit=Quitte
today=(fr) {0,date, dd/MM/yyyy}

View File

@@ -0,0 +1,36 @@
<?xml version = '1.0' encoding = 'UTF-8'?>
<simple-archive-deployment nselem="simple-archive-deployment" class="oracle.jdeveloper.deploy.jar.ArchiveProfile" xmlns="http://xmlns.oracle.com/jdeveloper/10120/deploy/jar">
<archiveOptions>
<additionalManifests/>
<compressed>false</compressed>
<hasManifest>true</hasManifest>
<mainClass>mypackage.Main</mainClass>
</archiveOptions>
<fileGroups>
<groups>
<Item class="oracle.jdeveloper.deploy.common.PackagingFileGroup" internalName="project-output">
<contributors>
<Item type="2"/>
<Item type="7"/>
</contributors>
<displayName>Project Output</displayName>
<filters>
<rules>
<Item type="1" pattern="AccessMsanager/"/>
<Item type="1" pattern="AccessManager/"/>
<Item type="1" pattern="**/CVS/"/>
<Item type="1" pattern="**.cdi"/>
<Item type="1" pattern="**.contrib"/>
<Item type="1" pattern="**.keep"/>
<Item type="1" pattern="**.rvi"/>
<Item type="1" pattern=".jsps/"/>
<Item type="0" pattern="**"/>
</rules>
</filters>
<targetWithinJar/>
</Item>
</groups>
</fileGroups>
<jarURL path="deploy/main.jar.jar"/>
<profileDeps/>
</simple-archive-deployment>

View File

@@ -0,0 +1,282 @@
<?xml version = '1.0' encoding = 'UTF-8'?>
<project nselem="project" class="oracle.jdeveloper.model.JProject" xmlns="http://xmlns.oracle.com/jdeveloper/10120/jproject">
<defaultPackage>mypackage</defaultPackage>
<defaultPackages class="java.util.ArrayList">
<Item class="java.lang.String">mypackage</Item>
</defaultPackages>
<dependencyList class="java.util.ArrayList">
<Item class="oracle.jdeveloper.library.ProjectLibrary">
<locked>true</locked>
<sourceOwnerURL path="../Application1.jws"/>
<sourceURL path="../amtsauthenticate/amtsauthenticate.jpr"/>
</Item>
</dependencyList>
<htmlRootDirectory path="public_html/"/>
<j2eeWebAppName>mainproject</j2eeWebAppName>
<j2eeWebContextRoot>mainproject</j2eeWebContextRoot>
<listOfChildren class="oracle.ide.model.DataList">
<Item class="oracle.ide.model.Reference">
<URL path="main.jar.deploy"/>
<nodeClass>oracle.ide.model.XMLDataNode</nodeClass>
</Item>
<Item class="oracle.ide.model.Reference">
<URL path="src/mypackage/Main.java"/>
<nodeClass>oracle.jdeveloper.model.JavaSourceNode</nodeClass>
</Item>
</listOfChildren>
<ownerMap/>
<projectDocPath>
<entries class="[Ljava.net.URL;"/>
</projectDocPath>
<projectLibraryList class="oracle.jdeveloper.library.JProjectLibraryList">
<jdkList class="java.util.ArrayList"/>
<libraryList class="java.util.ArrayList"/>
</projectLibraryList>
<projectSettings>
<activeConfigName>Development</activeConfigName>
<commonData class="java.util.HashMap">
<Item>
<Key>oracle.bm.commonIde.data.project.ModelerProjectSettings</Key>
<Value class="oracle.bm.commonIde.data.project.ModelerProjectSettings">
<modelersPath>
<entries>
<Item path="model/"/>
</entries>
</modelersPath>
<modelersVersion>10.12</modelersVersion>
</Value>
</Item>
<Item>
<Key>oracle.jdeveloper.compiler.ant.AntConfiguration</Key>
<Value class="oracle.jdeveloper.compiler.ant.AntConfiguration">
<arguments class="java.lang.String"/>
<makeTarget/>
<projectBuildfile/>
<rebuildTarget/>
<showOutput>true</showOutput>
</Value>
</Item>
</commonData>
<configurations class="java.util.TreeMap">
<Item>
<Key>Development</Key>
<Value class="oracle.jdeveloper.model.JProjectConfiguration">
<configData class="java.util.HashMap">
<Item>
<Key>oracle.jdeveloper.compiler.OjcConfiguration</Key>
<Value class="oracle.jdeveloper.compiler.OjcConfiguration">
<assertionsEnabled>false</assertionsEnabled>
<copyRes>
<Item>.gif</Item>
<Item>.properties</Item>
<Item>.jpg</Item>
<Item>.jpeg</Item>
<Item>.xml</Item>
<Item>-apf.xml</Item>
<Item>.xcfg</Item>
<Item>.cpx</Item>
<Item>.css</Item>
<Item>.js</Item>
<Item>.png</Item>
<Item>.tld</Item>
</copyRes>
<debugInformation>true</debugInformation>
<excludedClasses class="[Ljava.lang.String;"/>
<internalEncoding>Default</internalEncoding>
<obfuscate>false</obfuscate>
<reverseCopyRes>false</reverseCopyRes>
<showDeprecations>true</showDeprecations>
<showObjectDotStaticWarnings>false</showObjectDotStaticWarnings>
<showPartialImportWarnings>false</showPartialImportWarnings>
<showSelfDeprecations>true</showSelfDeprecations>
<showUnusedImportWarnings>false</showUnusedImportWarnings>
<showWarnings>true</showWarnings>
<target>Default</target>
<updateImports>false</updateImports>
<updateZipJarImports>false</updateZipJarImports>
</Value>
</Item>
<Item>
<Key>oracle.jdeveloper.javadoc.JProjectJavadoc</Key>
<Value class="oracle.jdeveloper.javadoc.JProjectJavadoc">
<embedDiagram>5</embedDiagram>
<genDiagramDoc>true</genDiagramDoc>
<generateAuthor>false</generateAuthor>
<generateDeprecated>true</generateDeprecated>
<generateIndex>true</generateIndex>
<generateNavbar>true</generateNavbar>
<generateSince>true</generateSince>
<generateTree>true</generateTree>
<generateVersion>false</generateVersion>
<heapSize>32</heapSize>
<imageFormat>1</imageFormat>
<miscOptions class="java.lang.String"/>
<oneOneFormat>false</oneOneFormat>
<outputDirectory path="javadoc/"/>
<scope>-protected</scope>
</Value>
</Item>
<Item>
<Key>oracle.jdeveloper.runner.RunConfiguration</Key>
<Value class="oracle.jdeveloper.runner.RunConfiguration">
<VMName>ojvm</VMName>
<XSLTInputFileURL/>
<XSLTOutputFileURL/>
<allowInput>false</allowInput>
<alwaysUseTarget>false</alwaysUseTarget>
<clearLogBeforeRun>true</clearLogBeforeRun>
<compileBeforeRun>true</compileBeforeRun>
<connectionName/>
<javaOptions class="java.lang.String"/>
<logCommand>true</logCommand>
<logError>true</logError>
<logExit>true</logExit>
<logOutput>true</logOutput>
<programArguments class="java.lang.String"/>
<runActiveFile>true</runActiveFile>
<runDirectoryURL/>
<targetURL/>
<useProxy>true</useProxy>
</Value>
</Item>
<Item>
<Key>oracle.jdevimpl.config.JProjectLibraries</Key>
<Value class="oracle.jdevimpl.config.JProjectLibraries">
<jdkName>1.4.2_06</jdkName>
<jdkVersionNumber>1.4.2_06</jdkVersionNumber>
<libraries class="java.lang.String"/>
</Value>
</Item>
<Item>
<Key>oracle.jdevimpl.config.JProjectPaths</Key>
<Value class="oracle.jdevimpl.config.JProjectPaths">
<additionalClassPath>
<entries class="[Ljava.net.URL;"/>
</additionalClassPath>
<outputDirectory path="classes/"/>
</Value>
</Item>
<Item>
<Key>oracle.jdevimpl.runner.codecoach.CCConfiguration</Key>
<Value class="oracle.jdevimpl.runner.codecoach.CCConfiguration">
<advices>ALL</advices>
<exclude>com;java;javax;sun;sunw;org;oracle</exclude>
<include class="java.lang.String"/>
<level>4</level>
</Value>
</Item>
<Item>
<Key>oracle.jdevimpl.runner.debug.DebugConfiguration</Key>
<Value class="oracle.jdevimpl.runner.debug.DebugConfiguration">
<JPDAClassicDebugArguments>-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=&lt;port></JPDAClassicDebugArguments>
<JPDADebugArguments>-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=&lt;port></JPDADebugArguments>
<OJVMDebugArguments>-XXdebug,quiet,port&lt;port></OJVMDebugArguments>
<breakpointScope>workspace</breakpointScope>
<remoteDebugging>false</remoteDebugging>
<remoteDebuggingParameters class="java.util.HashMap"/>
<remoteDebuggingParametersSaved>false</remoteDebuggingParametersSaved>
<remoteDebuggingProtocol>ojvm</remoteDebuggingProtocol>
<startOption>running</startOption>
<tracingDisabled>java;javax;sun;sunw;apple;com.apple;com.evermind;com.oracle;com.orionserver;com.sun;EDU.oswego;oracle.core;oracle.dms;oracle.ide;oracle.j2ee;oracle.jdbc;oracle.jdevimpl;oracle.jsp;oracle.oc4j;oracle.ojc;oracle.security;oracle.xml;org.omg;org.w3c;org.xml</tracingDisabled>
<tracingEnabled class="java.lang.String"/>
</Value>
</Item>
<Item>
<Key>oracle.jdevimpl.runner.profile.ProfileConfiguration</Key>
<Value class="oracle.jdevimpl.runner.profile.ProfileConfiguration">
<DMSstartID>20000</DMSstartID>
<DMSstate>0</DMSstate>
<eventColumnVisible>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
</eventColumnVisible>
<events>G(All events;(G(VM Events;(E(0;GC;-16776961;1);E(10;Wait;-65485;0);E(11;Synch Blocks 0;-39322;0);E(12;Synch Blocks 1;-39322;0);E(13;Synch Blocks 2;-39322;0);E(20;Prepare Class;-16751002;0);E(21;Load Class;-16724992;0);E(22;Resolve Class;-16737997;0);));G(BC4J Events;(E(1000;JBO_MISCELLANEOUS;-4144960;1);E(1001;JDBC_SELECT;-256;1);E(1002;JDBC_CREATE_STATEMENT;-256;1);E(1003;JDBC_CONNECT;-256;1);E(1004;JDBC_CREATE_PREPARED_STATEMENT;-256;1);E(1005;JDBC_EXECUTE;-256;1);E(1006;METAOBJECT_LOAD;-65281;1);E(1007;EXECUTE_QUERY;-16776961;1);E(1008;BC4J_CREATE_COMPOBJ;-65281;0);E(1009;BC4J_CREATE_ROOTAM;-65281;1);E(1010;BC4J_CREATE_VIEWOBJECT;-65281;0);E(1011;BC4J_CREATE_AM;-65281;0);E(1012;BC4J_CREATE_VIEWLINK;-65281;0);E(1013;SQLB_DOENTITYDML;-16776961;1);E(1014;SQLB_DOENTITYSELECT;-16776961;1);E(1015;VIEWOBJECT_GETSTATEMENT;-16776961;1);E(1016;REMOTE_METHOD_CALL;-65536;1);));));</events>
<excludedClasses>java;javax;sun;sunw;com;oracle</excludedClasses>
<excludedInstances class="java.lang.String"/>
<includedClasses class="java.lang.String"/>
<includedInstances class="java.lang.String"/>
<localProfiling>true</localProfiling>
<memColumnVisible>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
</memColumnVisible>
<memoryUpdateInterval>10</memoryUpdateInterval>
<remoteHost class="java.lang.String"/>
<remoteParametersSaved>false</remoteParametersSaved>
<remotePort>4000</remotePort>
<sampleColumnVisible>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
<Item>true</Item>
</sampleColumnVisible>
<sampleInterval>5</sampleInterval>
<sliderDepth>20</sliderDepth>
<useAPI>false</useAPI>
</Value>
</Item>
<Item>
<Key>oracle.jdevimpl.runner.xslt.XSLTConfiguration</Key>
<Value class="oracle.jdevimpl.runner.xslt.XSLTConfiguration">
<inputFileURL/>
<outputFileURL/>
<showInputFile>true</showInputFile>
<showOutputFile>true</showOutputFile>
<sourcePath>
<entries class="[Ljava.net.URL;"/>
</sourcePath>
</Value>
</Item>
<Item>
<Key>oracle.jdevimpl.sqlj.config.SqljConfiguration</Key>
<Value class="oracle.jdevimpl.sqlj.config.SqljConfiguration">
<additionalParameters class="java.lang.String"/>
<checkSemantics>false</checkSemantics>
<codegen>oracle</codegen>
<contextConnectionMap class="java.util.HashMap"/>
<contextName>&lt;none></contextName>
<useCache>false</useCache>
<warnAll>false</warnAll>
<warnNull>false</warnNull>
<warnPortable>false</warnPortable>
<warnPrecision>false</warnPrecision>
<warnStrict>false</warnStrict>
<warnVerbose>false</warnVerbose>
</Value>
</Item>
<Item>
<Key>WebappJspCompilerOptions</Key>
<Value class="oracle.jdevimpl.webapp.jsp.JspCompilerOptions">
<forgiveDuplicateDirectiveAttributes>false</forgiveDuplicateDirectiveAttributes>
<requestTimeIntrospection>false</requestTimeIntrospection>
<validate>true</validate>
<validateTLD>true</validateTLD>
</Value>
</Item>
</configData>
</Value>
</Item>
</configurations>
</projectSettings>
<projectSourcePath>
<entries>
<Item path="src/"/>
</entries>
</projectSourcePath>
<properties/>
</project>

View File

@@ -0,0 +1,17 @@
package mypackage;
public class Main
{
public Main()
{
}
/**
*
* @param args
*/
public static void main(String[] args)
{
new AccessManager.amTSAuthenticate();
}
}