Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
flowable-engine
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郑越
flowable-engine
Commits
aac73fbb
Commit
aac73fbb
authored
Jan 13, 2021
by
郑越
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理相关的安全权限问题以及图片导出乱码问题
parent
df81486a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ProcessInstanceDiagramResource.java
...e/api/runtime/process/ProcessInstanceDiagramResource.java
+2
-2
CustomPersistentRememberMeServices.java
...i/common/security/CustomPersistentRememberMeServices.java
+1
-1
No files found.
modules/flowable-rest/src/main/java/org/flowable/rest/service/api/runtime/process/ProcessInstanceDiagramResource.java
View file @
aac73fbb
...
...
@@ -70,8 +70,8 @@ public class ProcessInstanceDiagramResource extends BaseProcessInstanceResource
BpmnModel
bpmnModel
=
repositoryService
.
getBpmnModel
(
pde
.
getId
());
ProcessDiagramGenerator
diagramGenerator
=
processEngineConfiguration
.
getProcessDiagramGenerator
();
InputStream
resource
=
diagramGenerator
.
generateDiagram
(
bpmnModel
,
"png"
,
runtimeService
.
getActiveActivityIds
(
processInstance
.
getId
()),
Collections
.
emptyList
(),
processEngineConfiguration
.
getActivityFontName
(),
processEngineConfiguration
.
getLabelFontName
()
,
processEngineConfiguration
.
getAnnotationFontName
()
,
processEngineConfiguration
.
getClassLoader
(),
1.0
,
processEngineConfiguration
.
isDrawSequenceFlowNameWithNoLabelDI
());
"宋体"
,
"宋体"
,
"宋体"
,
processEngineConfiguration
.
getClassLoader
(),
1.0
,
processEngineConfiguration
.
isDrawSequenceFlowNameWithNoLabelDI
());
HttpHeaders
responseHeaders
=
new
HttpHeaders
();
responseHeaders
.
set
(
"Content-Type"
,
"image/png"
);
...
...
modules/flowable-ui/flowable-ui-common/src/main/java/org/flowable/ui/common/security/CustomPersistentRememberMeServices.java
View file @
aac73fbb
...
...
@@ -212,7 +212,7 @@ public class CustomPersistentRememberMeServices extends AbstractRememberMeServic
Method
setHttpOnlyMethod
=
ReflectionUtils
.
findMethod
(
Cookie
.
class
,
"setHttpOnly"
,
boolean
.
class
);
if
(
setHttpOnlyMethod
!=
null
)
{
ReflectionUtils
.
invokeMethod
(
setHttpOnlyMethod
,
cookie
,
Boolean
.
TRU
E
);
ReflectionUtils
.
invokeMethod
(
setHttpOnlyMethod
,
cookie
,
Boolean
.
FALS
E
);
}
else
if
(
logger
.
isDebugEnabled
())
{
logger
.
debug
(
"Note: Cookie will not be marked as HttpOnly because you are not using Servlet 3.0 (Cookie#setHttpOnly(boolean) was not found)."
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment