Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for s2 (0.13 sec)

  1. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

        }
    
        public boolean hasRoles(final String[] acceptedRoles) {
            return stream(user.getRoleNames())
                    .get(stream -> stream.anyMatch(s1 -> stream(acceptedRoles).get(s3 -> s3.anyMatch(s2 -> s2.equals(s1)))));
        }
    
        public boolean hasGroup(final String group) {
            return stream(user.getGroupNames()).get(stream -> stream.anyMatch(s -> s.equals(group)));
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top