- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 59 for setPermissions (0.09 sec)
-
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/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) -
src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java
return roles; } @Override public String[] getGroupNames() { return groups; } @Override public String[] getPermissions() { if (permissions == null) { final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); final Set<String> permissionSet = new HashSet<>();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/CrawlingConfig.java
import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.util.ComponentUtil; public interface CrawlingConfig { String getId(); String getName(); String[] getPermissions(); String[] getVirtualHosts(); String getDocumentBoost(); String getIndexingTarget(String input); String getConfigId(); Integer getTimeToLive();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 13:01:38 UTC 2024 - 5.5K bytes - Viewed (0)