@Validated
@Controller
public class StrategyController
extends java.lang.Object
| 构造器和说明 |
|---|
StrategyController(StrategyService strategyService,
AccountService accountService,
TenantService tenantService) |
| 限定符和类型 | 方法和说明 |
|---|---|
com.xforceplus.api.common.response.ResponseEntity<java.lang.String> |
findPasswordPatternByLoginName(@Valid @NotBlank java.lang.String loginName) |
com.xforceplus.api.common.response.ResponseEntity<java.lang.String> |
findPasswordPatternByTenantId(@Valid @Min(value=1L) long tenantId) |
com.xforceplus.api.common.response.ResponseEntity<java.util.Set<java.lang.String>> |
passwordPatterns() |
java.lang.String |
refresh() |
com.xforceplus.api.common.response.ResponseEntity<java.util.List<? super Strategy>> |
strategies() |
public StrategyController(StrategyService strategyService, AccountService accountService, TenantService tenantService)
@ResponseBody
@RequestMapping(name="\u5237\u65b0\u79df\u6237\u7b56\u7565\u7f13\u5b58",
value="${xforce.tenant.service.url.prefix:/api}/global${xforce.tenant.service.version:}/strategies/refresh",
method=POST)
public java.lang.String refresh()
@ResponseBody
@RequestMapping(name="\u9ed8\u8ba4\u79df\u6237\u7b56\u7565\u5217\u8868",
value="${xforce.tenant.service.url.prefix:/api}/global${xforce.tenant.service.version:}/strategies",
method=GET)
public com.xforceplus.api.common.response.ResponseEntity<java.util.List<? super Strategy>> strategies()
@ResponseBody
@RequestMapping(name="\u9ed8\u8ba4\u79df\u6237\u5bc6\u7801\u7b56\u7565\u5217\u8868",
value="${xforce.tenant.service.url.prefix:/api}/global${xforce.tenant.service.version:}/strategies/password-patterns",
method=GET)
public com.xforceplus.api.common.response.ResponseEntity<java.util.Set<java.lang.String>> passwordPatterns()
@ResponseBody
@RequestMapping(name="\u6839\u636e\u767b\u5f55\u8d26\u53f7\u5339\u914d\u6700\u4f73\u79df\u6237\u5bc6\u7801\u7b56\u7565",
value="${xforce.tenant.service.url.prefix:/api}/global${xforce.tenant.service.version:}/accounts/{loginName}/password-pattern",
method=GET)
public com.xforceplus.api.common.response.ResponseEntity<java.lang.String> findPasswordPatternByLoginName(@PathVariable(value="loginName") @Valid @NotBlank
@Valid @NotBlank java.lang.String loginName)
@ResponseBody
@RequestMapping(name="\u6839\u636e\u79df\u6237id\u5339\u914d\u6700\u4f73\u79df\u6237\u5bc6\u7801\u7b56\u7565",
value="${xforce.tenant.service.url.prefix:/api}/global${xforce.tenant.service.version:}/tenants/{tenantId}/password-pattern",
method=GET)
public com.xforceplus.api.common.response.ResponseEntity<java.lang.String> findPasswordPatternByTenantId(@PathVariable(value="tenantId") @Valid @Min(value=1L)
@Valid @Min(value=1L) long tenantId)