@Component @Profile(value="desktop") public class ServiceStarterDesktop extends ServiceStarter
| Constructor and Description |
|---|
ServiceStarterDesktop() |
| Modifier and Type | Method and Description |
|---|---|
Optional<org.springframework.security.authentication.UsernamePasswordAuthenticationToken> |
getDesktopUserToken() |
protected File |
getServiceConfig()
Overwrite the existing configuration file and add a temporary user for the desktop.
|
void |
onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event) |
protected static List<Object> |
unpackToml(org.tomlj.TomlArray orig) |
protected static Map<String,Object> |
unpackToml(org.tomlj.TomlTable orig) |
destroy, getServiceURLprotected File getServiceConfig() throws IOException
getServiceConfig in class ServiceStarterIOExceptionpublic void onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>onApplicationEvent in class ServiceStarterpublic Optional<org.springframework.security.authentication.UsernamePasswordAuthenticationToken> getDesktopUserToken()
getDesktopUserToken in class ServiceStarterCopyright © 2021 Corpuslinguistic working group Humboldt University Berlin. All rights reserved.