- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for PermissionHelper (0.22 sec)
-
src/main/java/org/codelibs/fess/helper/PermissionHelper.java
import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.util.ComponentUtil; import jakarta.annotation.Resource; import jcifs.SID; public class PermissionHelper { private static final Logger logger = LogManager.getLogger(PermissionHelper.class); protected String rolePrefix = "{role}"; protected String groupPrefix = "{group}"; protected String userPrefix = "{user}";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java
}); final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper(); form.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 - 17.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java
assertNull(permissionHelper.encode("{user}")); assertNull(permissionHelper.encode("{role}")); assertNull(permissionHelper.encode("{group}")); assertNull(permissionHelper.encode("(allow)")); assertNull(permissionHelper.encode("(allow){user}")); assertNull(permissionHelper.encode("(allow){group}")); assertNull(permissionHelper.encode("(allow){group}")); assertNull(permissionHelper.encode("(deny)"));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java
.dateConverter(Constants.DEFAULT_DATETIME_FORMAT, EXPIRES)); final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper(); form.permissions = stream(entity.getPermissions()).get(stream -> stream.map(permissionHelper::decode) .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 - 14.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java
copyOp.excludeNull(); copyOp.exclude(Constants.PERMISSIONS); }); final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper(); form.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s)) .filter(StringUtil::isNotBlank).distinct().collect(Collectors.joining("\n"))); }).orElse(() -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 15.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java
copyOp.excludeNull(); copyOp.exclude(Constants.PERMISSIONS); }); final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper(); form.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s)) .filter(StringUtil::isNotBlank).distinct().collect(Collectors.joining("\n"))); }).orElse(() -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 18.7K 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/web/api/admin/labeltype/ApiAdminLabeltypeAction.java
copyOp.excludeNull(); copyOp.exclude(Constants.PERMISSIONS); }); 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"))); return body; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
String getRoleSearchDefaultPermissions(); default String[] getSearchDefaultPermissionsAsArray() { final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper(); return split(getRoleSearchDefaultPermissions(), ",").get(stream -> stream.map(p -> permissionHelper.encode(p)) .filter(StringUtil::isNotBlank).distinct().toArray(n -> new String[n])); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 87.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java
}); final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper(); form.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 - 17.1K bytes - Viewed (0)