Class ServletConfiguration
java.lang.Object
org.frankframework.lifecycle.servlets.ServletConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.EnvironmentAware
public class ServletConfiguration
extends Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.context.EnvironmentAware
Yaml config example:
servlets:
IAF-API:
transportGuarantee: NONE
securityRoles:
- IbisObserver
- IbisDataAdmin
- IbisAdmin
- IbisTester
urlMapping: iaf/api/*
loadOnStartup: 0
authenticator: myAuthenticatorID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addInitParameter
(String name, String value) void
void
fromServlet
(DynamicRegistration.Servlet servlet) Convenience method to easily register a dynamic Frank servlet.boolean
void
Overwrites servlet defaults with properties.void
void
setSecurityRoles
(String[] accessGrantingRoles) void
setServlet
(jakarta.servlet.Servlet servlet) void
setUrlMapping
(String urlMappingArray) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.springframework.context.EnvironmentAware
setEnvironment
-
Constructor Details
-
ServletConfiguration
public ServletConfiguration()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
setSecurityRoles
-
getSecurityRoles
-
setName
-
fromServlet
Convenience method to easily register a dynamic Frank servlet. -
setServlet
public void setServlet(jakarta.servlet.Servlet servlet) -
addInitParameter
-
isAuthenticationEnabled
public boolean isAuthenticationEnabled() -
loadProperties
public void loadProperties()Overwrites servlet defaults with properties. -
setUrlMapping
-
toString
-