Closed glassfishrobot closed 16 years ago
@glassfishrobot Commented jfarcand said: This is the same issue as 4506...the redirect port configuration is most probably missing inside the WebContainer code.
@glassfishrobot Commented sonialiu said: This bug was fixed for earlier builds, I verified it about 10 days ago. However, I ran the test today against promoted build10, it failed. I got the same error that described in the server.log. So reopen the bug. Thanks.
@glassfishrobot Commented @vbkumarjayanti said: I tried a http->https redirect Application with
V3-TP2 latest dev build from hudson :
http://kohsuke.sfbay.sun.com/hudson/view/GFv3/job/glassfish-v3-tp2-devbuild/84/
And it works for me without any issues.
@glassfishrobot Commented @vbkumarjayanti said: You have to add the SSL element in domain.xml under http-listener 2 manually (did you do that ?).
@glassfishrobot Commented sonialiu said: I found the failure was due to 8181 port was in use. I killed all processes and reran the test, it passed. However, in the server.log, I always see an error(see below). Is this expected? [#|2008-04-22T15:04:40.327-0700|INFO|GlassFish10.0|javax.enterprise.system.core. security|_ThreadID=15;_ThreadName=Thread-4;|JACC Policy Provider: PolicyWrapper. implies, context(sec-redirect-port-web/sec-redirect-port-web)- permission((javax .security.jacc.WebUserDataPermission /test.jsp GET)) domain that failed(Protecti onDomain (file:/sec-redirect-port-web/sec-redirect-port-web <no signer certific ates>) null
@glassfishrobot Commented sonialiu said: change the priority to p3 since the feature works, it only has an exception in server.log
@glassfishrobot Commented @vbkumarjayanti said: If you observe the Exception (INFO Log) appears in GF V2 as well and is not a new behaviour.
@glassfishrobot Commented Was assigned to raharsha
@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-4514
@glassfishrobot Commented Reported by sonialiu
@glassfishrobot Commented Marked as cannot reproduce on Wednesday, April 23rd 2008, 7:10:21 pm
The redirection of http to https request failed when web.xml has only user-data-constraint for CONFIDENTIAL. Steps to reproduce the bug: 1. Install Glassfish v3, start domain 2. Add attribute in domain.xml for http-listener-2, it will look like this:
<http-listener default-virtual-server="server" family="inet" security-en
abled="true" enabled="true" server-name="" address="0.0.0.0" acceptor-threads="1
" port="8181" id="http-listener-2" xpowered-by="true" blocking-enabled="false">
<ssl ssl3-enabled="true" cert-nickname="s1as" ssl2-enabled="false" tls
-rollback-enabled="true" tls-enabled="true" client-auth-enabled="false" />
3. Checkout SQE workspace
cvs co appserver-sqe/boostrap.xml
cd appserver-sqe
ant -f bootstrap.xml co-security
4.set env. variables
AS_HOME
SPS_HOME
ANT_HOME
JAVA_HOME
5. cd appserver-sqe/pe/security/ssl/redirectport,run "ant all". The test case
failed. The same test passed for v2. Here is the error in server.log
[#|2008-03-26T15:39:01.991-0700|INFO|GlassFish10.0|javax.enterprise.system.core.
security|_ThreadID=12;_ThreadName=Thread-5;|JACC Policy Provider: PolicyWrapper.
implies, context(sec-redirect-port-web/sec-redirect-port-web)- permission((javax
.security.jacc.WebUserDataPermission /test.jsp GET)) domain that failed(Protecti
onDomain (file:/sec-redirect-port-web/sec-redirect-port-web <no signer certific
ates>)
null