Package com.bytedesk.core.rbac.auth.ldap
Class LdapAuthController
java.lang.Object
com.bytedesk.core.rbac.auth.ldap.LdapAuthController
@RestController
@RequestMapping("/auth/ldap")
@Description("LDAP Login")
public class LdapAuthController
extends Object
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AuthServiceprivate final LdapUserServiceprivate final LdapPropertiesprivate final UserService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>login(LdapAuthController.LdapLoginRequest body, jakarta.servlet.http.HttpServletRequest httpRequest)
-
Field Details
-
properties
-
ldapUserService
-
userService
-
authService
-
-
Constructor Details
-
LdapAuthController
public LdapAuthController()
-
-
Method Details
-
login
@PostMapping("/login") @ActionAnnotation(title="auth", action="\u5bc6\u7801\u767b\u5f55", description="Login with LDAP") public org.springframework.http.ResponseEntity<?> login(@RequestBody LdapAuthController.LdapLoginRequest body, jakarta.servlet.http.HttpServletRequest httpRequest)
-