[arquillian-issues] [JBoss JIRA] (ARQ-322) Implement a GlassFish 3.1 managed container adapter

Vineet Reynolds (JIRA) jira-events at lists.jboss.org
Mon Mar 12 02:07:47 EDT 2012


    [ https://issues.jboss.org/browse/ARQ-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675809#comment-12675809 ] 

Vineet Reynolds commented on ARQ-322:
-------------------------------------

Yes, adding in the CSRF protection header, allows the deployment to GlassFish to proceed with the deployment. Here's my change for now.

{code:java}
    public Map POSTMultiPartRequest(String additionalResourceUrl, FormDataMultiPart form) 
    {
    	ClientResponse response = prepareClient(additionalResourceUrl).type(MediaType.MULTIPART_FORM_DATA_TYPE)
    	.header("X-Requested-By", "Arquillian")
		.post(ClientResponse.class, form);
    	Map responseMap = getResponseMap(response);
    	
    	return responseMap;
    }

{code}
                
> Implement a GlassFish 3.1 managed container adapter
> ---------------------------------------------------
>
>                 Key: ARQ-322
>                 URL: https://issues.jboss.org/browse/ARQ-322
>             Project: Arquillian
>          Issue Type: Feature Request
>          Components: GlassFish Containers
>    Affects Versions: glassfish_1.0.0.CR2
>            Reporter: Dan Allen
>            Assignee: Vineet Reynolds
>
> To round out the GlassFish support, we need a managed container adapter (see the JBoss AS managed container).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list