[JIRA] Commented: (GRIZZLY-1375) GrizzlyAdapter does not create secure GrizzlyRequest

  • From: "Ryan Lubke (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [JIRA] Commented: (GRIZZLY-1375) GrizzlyAdapter does not create secure GrizzlyRequest
  • Date: Thu, 3 Oct 2013 17:01:17 +0000 (UTC)
  • Auto-submitted: auto-generated


    [ 
https://java.net/jira/browse/GRIZZLY-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=369265#action_369265
 ] 

Ryan Lubke commented on GRIZZLY-1375:
-------------------------------------

To update GlassFish 3.1.2.2 with the patch jar, assume GF_HOME refers to the 
GlassFish installation directory

1)  Backup GF_HOME/modules/grizzly-utils.jar
2)  Copy the attached grizzly-utils-1.9.46.jar to 
GF_HOME/modules/grizzly-utils.jar
3)  Restart the server.

> GrizzlyAdapter does not create secure GrizzlyRequest 
> -----------------------------------------------------
>
>                 Key: GRIZZLY-1375
>                 URL: https://java.net/jira/browse/GRIZZLY-1375
>             Project: grizzly
>          Issue Type: Bug
>    Affects Versions: 1.9.46
>         Environment: Windows and AIX
>            Reporter: junaid123
>            Assignee: Ryan Lubke
>             Fix For: 1.9.55
>
>         Attachments: grizzly-utils-1.9.46.jar, WS-Server.jar
>
>
> I am running into an issue with Metro in Glassfish v3. I have a ejb which 
> we exposed as secure web service (Message Authentication over SSL), works 
> great in Glassfish v2 but when we deploy on Glassfish v3 it is throwing 
> following exception:
> "com.sun.xml.wss.impl.XWSSecurityRuntimeException: WSS1601: Security 
> Requirements not met - Transport binding configured in policy but incoming 
> message was not SSL enabled
>  at 
> com.sun.xml.wss.impl.policy.verifier.MessagePolicyVerifier.verifyPolicy(MessagePolicyVerifier.java:125)"
> Which takes us to com.sun.grizzly.tcp.http11.GrizzlyAdapter.java
> @Override
>     final public void service(Request req, Response res) throws Exception { 
>   
>        .. 
>        ..
>         GrizzlyRequest request = (GrizzlyRequest) 
> req.getNote(ADAPTER_NOTES);
>         GrizzlyResponse response = (GrizzlyResponse) 
> res.getNote(ADAPTER_NOTES);
>         
>         if (request == null) {
>             // Create objects
>             request = new GrizzlyRequest();
>             request.setRequest(req);
>             response = new GrizzlyResponse(chunkingDisabled, false);
>             response.setResponse(res);
>             // Link objects
>             request.setResponse(response);
>             response.setRequest(request);
>             // Set as notes
>             req.setNote(ADAPTER_NOTES, request);
>             res.setNote(ADAPTER_NOTES, response);
> }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[JIRA] Commented: (GRIZZLY-1375) GrizzlyAdapter does not create secure GrizzlyRequest

Ryan Lubke (JIRA) 10/03/2013
Terms of Use; Privacy Policy; Copyright ©2013-2015 (revision 20150226.965aeb8)
 
 
Close
loading
Please Confirm
Close