File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/main/java/com/github/jrrdev/mantisbtsync/core/jobs/common Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,8 @@ public PortalAuthManager authManager(@Value("${mantis.auth.filepath:}") final St
8686
8787 @ Bean
8888 @ JobScope
89- public MantisConnectBindingStub clientStub (@ Value ("${mantis.endpoint}" ) final String endpoint ) throws AxisFault , MalformedURLException {
89+ public MantisConnectBindingStub clientStub (@ Value ("${mantis.endpoint}" ) final String endpoint ,
90+ final PortalAuthBuilder authBuilder ) throws AxisFault , MalformedURLException {
9091
9192 if (endpoint == null ) {
9293 throw new MalformedURLException ("Mantis endpoint can't be null" );
@@ -96,7 +97,7 @@ public MantisConnectBindingStub clientStub(@Value("${mantis.endpoint}") final St
9697 loc .setMantisConnectPortEndpointAddress (endpoint );
9798 final MantisConnectBindingStub stub = new MantisConnectBindingStub (new URL (endpoint ), loc );
9899 stub ._setProperty (MessageContext .HTTP_TRANSPORT_VERSION , HTTPConstants .HEADER_PROTOCOL_V11 );
99- stub .setMaintainSession (false );
100+ stub .setMaintainSession (true );
100101
101102 return stub ;
102103 }
You can’t perform that action at this time.
0 commit comments