- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for accessToken (0.11 sec)
-
AccessToken.java
org.codelibs.fess.es.config.exentity; L17: L18:import java.util.Arrays; L19:import java.util.Date; L20: L21:import org.codelibs.fess.es.config.bsentity.BsAccessToken; L22: L23:/** L24: * @author ESFlute (using FreeGen) L25: */ L26:public class AccessToken extends BsAccessToken { L27: L28: private static final long serialVersionUID = 1L; L29: L30: public String getId() { L31: return asDocMeta().id(); L32: } L33: L34: public void setId(final String id) { L35: asDocMeta().id(id);...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 1.9K bytes -
ApiAdminAccesstokenAction.java
null; L96: }); L97: return asJson(new ApiUpdateResponse().id(accessToken.getId()).created(true).status(Status.OK).result()); L98: } L99: L100: // POST /api/admin/accesstoken/setting L101: @Execute L102: public JsonResponse<ApiResult> post$setting(final EditBody body) { L103: validateApi(body, messages -> {}); L104: body.crudMode = CrudMode.EDIT; L105: final AccessToken accessToken = getAccessToken(body).map(entity -> { L106: try { L107: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 7K bytes -
AccessTokenService.java
return accessTokenList; L62: } L63: L64: public OptionalEntity<AccessToken> getAccessToken(final String id) { L65: return accessTokenBhv.selectByPK(id); L66: } L67: L68: public void store(final AccessToken accessToken) { L69: L70: accessTokenBhv.insertOrUpdate(accessToken, op -> op.setRefreshPolicy(Constants.TRUE)); L71: L72: } L73: L74: public void delete(final AccessToken accessToken) { L75: L76: accessTokenBhv.delete(accessToken, op -> op.setRefresh...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 4.6K bytes -
CreateBody.java
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.accesstoken; L17: L18:import org.codelibs.fess.app.web.admin.accesstoken.CreateForm; L19: L20:public class CreateBody extends CreateForm { L21: L22:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 791 bytes -
SearchBody.java
* 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.accesstoken; L17: L18:import org.codelibs.fess.app.web.api.admin.BaseSearchBody; L19: L20:public class SearchBody extends BaseSearchBody { L21: public String id; L22: L23:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 813 bytes -
SearchForm.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.admin.accesstoken; L17: L18:/** L19: * @author codelibs L20: * @author jflute L21: */ L22:public class SearchForm { L23: L24: public String id; L25: L26:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 773 bytes -
CreateForm.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.admin.accesstoken; L17: L18:import org.codelibs.fess.app.web.CrudMode; L19:import org.codelibs.fess.util.ComponentUtil; L20:import org.codelibs.fess.validation.CustomSize; L21:import org.lastaflute.web.validation.Required; L22:import org.lastaflute.web.validatio...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 1.8K bytes -
AccessTokenTests.java
L29:import io.restassured.path.json.JsonPath; L30: L31:@Tag("it") L32:public class AccessTokenTests extends CrudTestBase { L33: private static final String NAME_PREFIX = "accessTokenTest_"; L34: private static final String API_PATH = "/api/admin/accesstoken"; L35: private static final String LIST_ENDPOINT_SUFFIX = "settings"; L36: private static final String ITEM_ENDPOINT_SUFFIX = "setting"; L37: L38: private static final String KEY_PROPERTY = "name"; L39: L40: @Override L41: protected...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.7K bytes -
EditBody.java
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.accesstoken; L17: L18:import org.codelibs.fess.app.web.admin.accesstoken.EditForm; L19: L20:public class EditBody extends EditForm { L21: L22:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 785 bytes -
EditForm.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.admin.accesstoken; L17: L18:import org.lastaflute.web.validation.Required; L19:import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure; L20: L21:import jakarta.validation.constraints.Size; L22: L23:/** L24: * @author shinsuke L25: * @author jflute...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 1.1K bytes