From: Julio G. <ju...@us...> - 2005-03-02 17:38:12
|
Update of /cvsroot/smartfrog/core/smartfrog/src/org/smartfrog In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3422/smartfrog/src/org/smartfrog Modified Files: SFSystem.java Log Message: Fixed boolean evaluation for secured. Index: SFSystem.java =================================================================== RCS file: /cvsroot/smartfrog/core/smartfrog/src/org/smartfrog/SFSystem.java,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -d -r1.49 -r1.50 *** SFSystem.java 2 Mar 2005 16:33:08 -0000 1.49 --- SFSystem.java 2 Mar 2005 17:38:03 -0000 1.50 *************** *** 501,505 **** String securityRequired = System.getProperty(SFSecurityProperties.propSecurityRequired,"false"); Boolean secured=Boolean.valueOf(securityRequired); ! if(secured) { //we need security, but it is not enabled throw new SFGeneralSecurityException(ERROR_NO_SECURITY_BUT_REQUIRED); --- 501,505 ---- String securityRequired = System.getProperty(SFSecurityProperties.propSecurityRequired,"false"); Boolean secured=Boolean.valueOf(securityRequired); ! if(secured.booleanValue()) { //we need security, but it is not enabled throw new SFGeneralSecurityException(ERROR_NO_SECURITY_BUT_REQUIRED); |