mirror of
https://github.com/fabioformosa/quartz-manager.git
synced 2025-12-27 12:43:16 +09:00
#6 added HttpSecurity wrapper
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package it.fabioformosa.quartzmanager.configuration.helpers.impl;
|
||||
|
||||
import org.springframework.security.authentication.AuthenticationManager;
|
||||
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
|
||||
|
||||
public class QuartzManagerHttpSecurity {
|
||||
|
||||
static QuartzManagerHttpSecurity from(HttpSecurity httpSecurity) {
|
||||
QuartzManagerHttpSecurity newInstance = new QuartzManagerHttpSecurity();
|
||||
newInstance.httpSecurity = httpSecurity;
|
||||
return newInstance;
|
||||
}
|
||||
|
||||
private HttpSecurity httpSecurity;
|
||||
|
||||
QuartzManagerHttpSecurity login(AuthenticationManager authenticationManager){
|
||||
return this;
|
||||
}
|
||||
|
||||
QuartzManagerHttpSecurity logout(){
|
||||
return this;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user