- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 35 for Cole (0.03 sec)
-
SearchListTests.java
Map<String, Object> doc = new HashMap<>(); L74: final String keyProp = NAME_PREFIX + id; L75: doc.put(KEY_PROPERTY, keyProp); L76: doc.put("url", "http://example.com/" + id); L77: doc.put("boost", id); L78: doc.put("role", "Rguest"); L79: requestBody.put("doc", doc); L80: return requestBody; L81: } L82: L83: @Override L84: protected Map<String, Object> createSearchBody(final int size) { L85: final Map<String, Object> searchBody = new HashMap<>();...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 4.5K bytes -
index.jsp
<c:choose> L46: <c:when test="${!empty username && username != 'guest'}"> L47: <li class="nav-item"> L48: <div class="dropdown"> L49: <a class="nav-link dropdown-toggle" data-toggle="dropdown" L50: href="#" role="button" aria-haspopup="true" L51: aria-expanded="false"> <em class="fa fa-fw fa-user">${username} L52: </a> L53: <div class="dropdown-menu" aria-labelledby="userMenu"> L54: <c:if test="${editableUser...github.com/codelibs/fess/src/main/webapp/WEB-IN...Sat Oct 26 01:07:52 UTC 2024 6.9K bytes -
FessUserBean.java
getGroups() { L68: return user.getGroupNames(); L69: } L70: L71: public boolean isEditable() { L72: return user.isEditable(); L73: } L74: L75: public boolean hasRole(final String role) { L76: return stream(user.getRoleNames()).get(stream -> stream.anyMatch(s -> s.equals(role))); L77: } L78: L79: public boolean hasRoles(final String[] acceptedRoles) { L80: return stream(user.getRoleNames()) L81: .get(stream -> stream.anyMatch(s1 -> stream(acceptedRoles).get(s3...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 4.4K bytes -
EditBody.java
OR CONDITIONS OF ANY KIND, L13: * either express or implied. See the License for the specific language L14: * governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.app.web.api.admin.role; L17: L18:import org.codelibs.fess.app.web.admin.role.EditForm; L19: L20:public class EditBody extends EditForm { L21:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 770 bytes -
AccessTokenTests.java
Map<String, Object> searchBody = new HashMap<>(); L84: searchBody.put("size", NUM * 2); L85: List<String> updatedList = getPropList(searchBody, "permissions"); L86: for (String val : updatedList) { L87: assertEquals(val, "{role}admin-api2"); L88: } L89: } L90: L91: private void testPermission() { L92: // Create access token L93: final String name = NAME_PREFIX + 0; L94: final Map<String, Object> requestBody = new HashMap<>(); L95: ...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.7K bytes -
PermissionHelperTest.java
L49: assertEquals("1guest", permissionHelper.encode("{user}guest")); L50: assertEquals("Rguest", permissionHelper.encode("{role}guest")); L51: assertEquals("2guest", permissionHelper.encode("{group}guest")); L52: assertEquals("1guest", permissionHelper.encode("{USER}guest")); L53: assertEquals("Rguest", permissionHelper.encode("{ROLE}guest")); L54: assertEquals("2guest", permissionHelper.encode("{GROUP}guest")); L55: assertEquals("1guest", permissionH...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 5.9K bytes -
AdminEsreqAction.java
systemHelper.getHelpLink(fessConfig.getOnlineHelpNameEsreq())); L55: } L56: L57: @Override L58: protected String getActionRole() { L59: return ROLE; L60: } L61: L62: @Execute L63: @Secured({ ROLE, ROLE + VIEW }) L64: public HtmlResponse index() { L65: return asListHtml(this::saveToken); L66: } L67: L68: @Execute L69: @Secured({ ROLE }) L70: public ActionResponse upload(final UploadForm form) { L71: validate(form, messages -> {}, () -> asListHtml(null)); L72: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 6.2K bytes -
SearchBody.java
L12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, L13: * either express or implied. See the License for the specific language L14: * governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.app.web.api.admin.role; L17: L18:import org.codelibs.fess.app.web.api.admin.BaseSearchBody; L19: L20:public class SearchBody extends BaseSearchBody { L21: public String id; L22:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 805 bytes -
AdminSearchlogAction.java
asListHtml(); L72: } L73: L74: @Execute L75: @Secured({ ROLE, ROLE + VIEW }) L76: public HtmlResponse list(final Integer pageNumber, final SearchForm form) { L77: saveToken(); L78: searchLogPager.setCurrentPageNumber(pageNumber); L79: return asHtml(path_AdminSearchlog_AdminSearchlogJsp).renderWith(data -> { L80: searchPaging(data, form); L81: }); L82: } L83: L84: @Execute L85: @Secured({ ROLE, ROLE + VIEW }) L86: public HtmlResponse search(final SearchForm...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 8.2K bytes -
AdminSuggestAction.java
@Override L53: protected String getActionRole() { L54: return ROLE; L55: } L56: L57: // =================================================================================== L58: // Execute L59: // ======== L60: @Execute L61: @Secured({ ROLE, ROLE + VIEW }) L62: public HtmlResponse index() { L63: saveToken(); L64:...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 4.3K bytes