Citation:
DEBUG - server info = Apache Tomcat/5.5.15
DEBUG - servletContextName=test_jguard
DEBUG - servlet Real Path=D:\Eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\webapps\test_jguard\
DEBUG - current Policy=sun.security.provider.PolicyFile@1094d48
DEBUG - webappHomePath=file://D:/Eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp3/webapps/test_jguard/
DEBUG - configurationLocation=file://D:\Eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\webapps\test_jguard\WEB-INF\conf\jGuard\jGuardConfiguration.xml
DEBUG - location=file://////D:\Eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\webapps\test_jguard\WEB-INF\conf\jGuard\jGuardConfiguration.xml
12 mai 2006 12:07:47 net.sf.jguard.security.PolicyHelper installPolicy
INFO: init() - JGuardPolicy is not set as the policy provider . the actual policy provider is 'sun.security.provider.PolicyFile' which is different of 'net.sf.jguard.security.JGuardPolicy'
12 mai 2006 12:07:47 net.sf.jguard.security.PolicyHelper installPolicy
INFO: init() - if you want the jGuard policy 'governs' all java applications (one choice among others described in the jGuard documentation),
12 mai 2006 12:07:47 net.sf.jguard.security.PolicyHelper installPolicy
INFO: init() - please correct the 'policy.provider' property (policy.provider=net.sf.jguard.security.JGuardPolicy) in your 'java.security' file,
12 mai 2006 12:07:47 net.sf.jguard.security.PolicyHelper installPolicy
INFO: init() - located in this directory: C:\Java\jdk1.5.0_06\jre\lib\security\
12 mai 2006 12:07:47 net.sf.jguard.security.JGuardPolicy <init>
INFO: ####### loading jGuardPolicy 0.70.2 ###########
12 mai 2006 12:07:47 net.sf.jguard.security.ConfigurationHelper installWithOldConfig
INFO: JGuardConfiguration is set
DEBUG - applicationName=test_jguard
DEBUG - authenticationOptions={authenticationManagerOptions={authenticationPassword=root, authenticationUrl=jdbc:mysql://192.168.11.28/jguard_users, authenticationLogin=root, authenticationDriver=com.mysql.jdbc.Driver}, authenticationFailedURI=/failed.jsp, accessDeniedURI=/servlet?action=AccessDenied, loginModules=[{loginModuleOptions={debug=false, passwordField=password, loginField=login}, flag=REQUIRED, name=net.sf.jguard.loginmodules.JdbcLoginModule}], indexURI=index.jsp, authenticationManager=net.sf.jguard.authentication.JdbcAuthenticationManager, logonProcessURI=/servlet?action=LogonProcess, registerURI=/servlet?action=Registration, registerProcessURI=/servlet?action=RegistrationProcess, debug=true, authScheme=BASIC, passwordField=password, logonURI=/servlet?action=Logon, logoffURI=/servlet?action=Logoff, includeOldConfig=false}
DEBUG - debugOnAuthentication=true
DEBUG - Configuration class =net.sf.jguard.security.JGuardConfiguration
INFO - authenticationManagerImpl=net.sf.jguard.authentication.JdbcAuthenticationManager
DEBUG - AuthenticationConnectionFactoryOptions={authenticationPassword=root, authenticationUrl=jdbc:mysql://192.168.11.28/jguard_users, authenticationLogin=root, applicationName=test_jguard, authenticationDriver=com.mysql.jdbc.Driver}
DEBUG - authorizationManagerOptions={fileLocation=file://D:/Eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp3/webapps/test_jguard/WEB-INF/conf/jGuard/authorization.mysql.properties, debug=true, applicationName=test_jguard, authorizationManager=net.sf.jguard.authorization.JdbcAuthorizationManager, authorizationUrl=jdbc:mysql://192.168.11.28/jguard_test, authorizationPassword=password, authorizationDriver=com.mysql.jdbc.Driver, authorizationLogin=root}
DEBUG - authorizationManagerOptions={fileLocation=file://D:/Eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp3/webapps/test_jguard/WEB-INF/conf/jGuard/authorization.mysql.properties, debug=true, applicationName=test_jguard, authorizationManager=net.sf.jguard.authorization.JdbcAuthorizationManager, authorizationUrl=jdbc:mysql://192.168.11.28/jguard_test, authorizationPassword=password, authorizationDriver=com.mysql.jdbc.Driver, authorizationLogin=root}
DEBUG - query2=
DEBUG - sequence already exists Syntax error or access violation, message from server: "Query was empty"
DEBUG - query2=
DEBUG - sequence already exists Syntax error or access violation, message from server: "Query was empty"
DEBUG - query2=
DEBUG - sequence already exists Syntax error or access violation, message from server: "Query was empty"
DEBUG - query3=alter table jg_principal_permission add constraint fk_permission_principal foreign key (principal_id) references jg_app_principal(id)
DEBUG - foreign keys already exists General error, message from server: "Can't create table '.\jguard_test\#sql-604_11f.frm' (errno: 121)"
DEBUG - query3=alter table jg_principal_permission add constraint fk_principal_permission foreign key (permission_id) references jg_permission(id)
DEBUG - foreign keys already exists General error, message from server: "Can't create table '.\jguard_test\#sql-604_11f.frm' (errno: 121)"
DEBUG - query3=alter table jg_principal_domain add constraint fk_domain_principal foreign key (principal_id) references jg_app_principal(id)
DEBUG - foreign keys already exists General error, message from server: "Can't create table '.\jguard_test\#sql-604_11f.frm' (errno: 121)"
DEBUG - query3=alter table jg_principal_domain add constraint fk_principal_domain foreign key (domain_id) references jg_domain(id)
DEBUG - foreign keys already exists General error, message from server: "Can't create table '.\jguard_test\#sql-604_11f.frm' (errno: 121)"
DEBUG - query3=alter table jg_permission add constraint fk_permission_domain foreign key (domain_id) references jg_domain(id)
DEBUG - foreign keys already exists General error, message from server: "Can't create table '.\jguard_test\#sql-604_11f.frm' (errno: 121)"
DEBUG - query3=alter table jg_principal_hierarchy add constraint fk_principal_principal_hierarchy foreign key (principal_asc_id) references jg_app_principal(id)
DEBUG - foreign keys already exists General error, message from server: "Can't create table '.\jguard_test\#sql-604_11f.frm' (errno: 121)"
DEBUG - query3=alter table jg_principal_hierarchy add constraint fk_principal_principal_hierarchy2 foreign key (principal_desc_id) references jg_app_principal(id)
DEBUG - foreign keys already exists General error, message from server: "Can't create table '.\jguard_test\#sql-604_11f.frm' (errno: 121)"
INFO - there are some principals in database
INFO - Principal guest inherites from principal admin
DEBUG - uriWithQuery=/servlet?action=Logon
INFO - user is null : subject is null implies logonProcess phase
DEBUG - authorizationHeader=null
INFO - user is null : BASIC authentication subject is null implies authenticate phase
ERROR - "Servlet.service()" pour la servlet servlet a généré une exception
java.util.MissingResourceException: Can't find resource for bundle sun.security.util.Resources, key unable to instantiate LoginModule:
Les erreurs "Can't create table '.\jguard_test\#sql-604_11f.frm' (errno: 121)" viennent d'un bug de MySQL concernant les contraintes sur cleés etrangeres mais je ne pense pas que ce soit lié.