Hi all
today (18.11.2005) i post a problem on Spring's Forum about PortMapperImpl. 
It's really easy, an exception is launch when you try to set the property 
httpsPortMapping. 
Change it in portMapping and everithing is ok.
In the API documentation (from 0.6.1 to 0.8.3 ) it's written this for the 
method: 
setPortMappings

public void setPortMappings(Map newMappings)

    Set to override the default HTTP port to HTTPS port mappings of 80:443, 
and 8080:8443.
    In a Spring XML ApplicationContext, a definition would look something like 
this:

   <property name="httpsPortMapping">
     <map>
       <entry key="80"><value>443</value></entry>
       <entry key="8080"><value>8443</value></entry>
     </map>
   </property>
 

    Parameters:
        newMappings - A Map consisting of String keys and String values, where 
for each entry the key is the string representation of an integer HTTP port 
number, and the value is the string representation of the corresponding 
integer HTTPS port number. 
    Throws:
        IllegalArgumentException - if input map does not consist of String 
keys and values, each representing an integer port number in the range 
1-65535 for that mapping.


It's correct?
Please take a look of my post here 
http://forum.springframework.org/showthread.php?p=41178&posted=1#post41178

Kind Regards Emmanuele.


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to