- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for getPermissions (0.18 sec)
-
src/main/java/org/codelibs/fess/ldap/LdapUser.java
return stream(getPermissions()).get(stream -> stream.filter(s -> s.startsWith(fessConfig.getRoleSearchRolePrefix())) .map(s -> s.substring(1)).toArray(n -> new String[n])); } @Override public String[] getGroupNames() { final FessConfig fessConfig = ComponentUtil.getFessConfig();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ActivityHelper.java
valueMap.put("action", Action.LOGIN.name()); valueMap.put("user", user.map(FessUserBean::getUserId).orElse("-")); valueMap.put("permissions", user.map(u -> stream(u.getPermissions()).get(stream -> stream.collect(Collectors.joining(permissionSeparator)))) .filter(StringUtil::isNotBlank).orElse("-")); log(valueMap); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/CrawlingConfigWrapper.java
return crawlingConfig.getId(); } @Override public String getName() { return crawlingConfig.getName(); } @Override public String[] getPermissions() { return crawlingConfig.getPermissions(); } @Override public String[] getVirtualHosts() { return crawlingConfig.getVirtualHosts(); } @Override public String getDocumentBoost() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java
return null; }); final EditBody body = createEditBody(entity); final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper(); body.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s)) .filter(StringUtil::isNotBlank).distinct().collect(Collectors.joining("\n")));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/AccessTokenService.java
// setup condition cb.query().addOrderBy_Name_Asc(); cb.query().addOrderBy_CreatedTime_Asc(); // search } public OptionalEntity<Set<String>> getPermissions(final HttpServletRequest request) { final String token = ComponentUtil.getAccessTokenHelper().getAccessTokenFromRequest(request); if (StringUtil.isNotBlank(token)) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java
// Accessor // ======== public String[] getPermissions() { return user.getPermissions(); } public String[] getRoles() { return user.getRoleNames(); } public String[] getGroups() { return user.getGroupNames(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/FessUser.java
import java.io.Serializable; public interface FessUser extends Serializable { String getName(); String[] getRoleNames(); String[] getGroupNames(); String[] getPermissions(); default boolean isEditable() { return false; } default boolean refresh() { return false; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 978 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/FessApiAdminAction.java
private static final Logger logger = LogManager.getLogger(FessApiAdminAction.class); @Override protected boolean isAccessAllowed() { try { return accessTokenService.getPermissions(request).map(permissions -> fessConfig.isApiAdminAccessAllowed(permissions)) .orElse(false); } catch (final InvalidAccessTokenException e) { if (logger.isDebugEnabled()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsentity/BsLabelType.java
public void setName(String value) { registerModifiedProperty("name"); this.name = value; } public String[] getPermissions() { checkSpecifiedProperty("permissions"); return permissions; } public void setPermissions(String[] value) { registerModifiedProperty("permissions"); this.permissions = value; } public Integer getSortOrder() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.2K bytes - Viewed (0)