Skip to content

Commit 1100149

Browse files
committed
remove shiro
1 parent 0b637c2 commit 1100149

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

geode-core/src/main/java/org/apache/geode/internal/security/SecurityServiceFactory.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ private static boolean isShiroInUse() {
9999
Method getSecurityManager = securityUtils.getMethod("getSecurityManager");
100100
Object sm = getSecurityManager.invoke(null);
101101
return sm != null;
102-
} catch (ClassNotFoundException | NoClassDefFoundError | LinkageError e) {
102+
} catch (ClassNotFoundException e) {
103+
return false;
104+
} catch (LinkageError e) {
103105
return false;
104106
} catch (Exception e) {
105107
return false;

0 commit comments

Comments
 (0)