Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
neo4jRelation
Overview
Overview
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
qiuchaofei
neo4jRelation
Commits
11be0bf1
Commit
11be0bf1
authored
May 16, 2024
by
linxu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改进代码
parent
0e567a54
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
SecurityConfig.java
...bile/metadata/metadataRelation/config/SecurityConfig.java
+2
-2
MetaData.java
...om/keymobile/metadata/metadataRelation/pojo/MetaData.java
+9
-3
No files found.
src/main/java/com/keymobile/metadata/metadataRelation/config/SecurityConfig.java
View file @
11be0bf1
...
@@ -33,9 +33,9 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
...
@@ -33,9 +33,9 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
@Override
@Override
protected
void
configure
(
HttpSecurity
http
)
throws
Exception
{
protected
void
configure
(
HttpSecurity
http
)
throws
Exception
{
if
(
permit
)
if
(
permit
)
{
http
.
httpBasic
().
and
().
authorizeRequests
().
anyRequest
().
permitAll
();
http
.
httpBasic
().
and
().
authorizeRequests
().
anyRequest
().
permitAll
();
else
{
}
else
{
http
.
httpBasic
().
and
()
http
.
httpBasic
().
and
()
.
authorizeRequests
().
antMatchers
(
"/actuator/**"
).
permitAll
().
and
()
.
authorizeRequests
().
antMatchers
(
"/actuator/**"
).
permitAll
().
and
()
.
authorizeRequests
().
anyRequest
().
authenticated
();
.
authorizeRequests
().
anyRequest
().
authenticated
();
...
...
src/main/java/com/keymobile/metadata/metadataRelation/pojo/MetaData.java
View file @
11be0bf1
...
@@ -156,9 +156,15 @@ public class MetaData extends BaseNode {
...
@@ -156,9 +156,15 @@ public class MetaData extends BaseNode {
@Override
@Override
public
boolean
equals
(
Object
o
)
{
public
boolean
equals
(
Object
o
)
{
if
(
this
==
o
)
return
true
;
if
(
this
==
o
)
{
if
(
o
==
null
||
getClass
()
!=
o
.
getClass
())
return
false
;
return
true
;
if
(!
super
.
equals
(
o
))
return
false
;
}
if
(
o
==
null
||
getClass
()
!=
o
.
getClass
())
{
return
false
;
}
if
(!
super
.
equals
(
o
))
{
return
false
;
}
MetaData
metaData
=
(
MetaData
)
o
;
MetaData
metaData
=
(
MetaData
)
o
;
return
Objects
.
equals
(
node
,
metaData
.
node
)
&&
return
Objects
.
equals
(
node
,
metaData
.
node
)
&&
Objects
.
equals
(
path
,
metaData
.
path
)
&&
Objects
.
equals
(
path
,
metaData
.
path
)
&&
...
...
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