Hello im new to Spring Security (3.0)

I'd like to set the portmapping port dynamicly form the DB. Is there e nicer solution then "overwriting" the org.springframework.security.web.PortMapperImpl.

At the moment my security:http configuration part is:
Code:
	<security:http auto-config="true" access-denied-page="/accessDenied.jsf">
		<security:intercept-url requires-channel="https"
			pattern="/pages/**" access="ROLE_LOGGEDIN"/>
		<security:intercept-url requires-channel="https"
			pattern="/**" access="IS_AUTHENTICATED_ANONYMOUSLY" />

		<security:form-login login-processing-url="/j_spring_security_check"
			login-page="/login.jsf"	authentication-failure-url="/login.jsf" />
		<security:logout logout-url="/logout.jsf"
			logout-success-url="/login.jsf" />
		<security:custom-filter ref="userFilter"
			before="FORM_LOGIN_FILTER" />
	</security:http>
hopefully you can understand my bad english and have a solution for me.
Thanks