Package com.bytedesk.core.rbac.auth.cas
Class CasAuthController
java.lang.Object
com.bytedesk.core.rbac.auth.cas.CasAuthController
@RestController
@RequestMapping("/auth/cas")
@Description("CAS Login")
public class CasAuthController
extends Object
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AuthServiceprivate final CasServiceprivate final CasPropertiesprivate final UserService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>org.springframework.http.ResponseEntity<?>login(CasAuthController.CasLoginRequest body, jakarta.servlet.http.HttpServletRequest httpRequest) private static String
-
Field Details
-
properties
-
casService
-
userService
-
authService
-
-
Constructor Details
-
CasAuthController
public CasAuthController()
-
-
Method Details
-
authorize
-
login
@PostMapping("/login") @ActionAnnotation(title="auth", action="\u5bc6\u7801\u767b\u5f55", description="Login with CAS ticket") public org.springframework.http.ResponseEntity<?> login(@RequestBody CasAuthController.CasLoginRequest body, jakarta.servlet.http.HttpServletRequest httpRequest) -
toStringOrNull
-