Hi, I'm afraid that this is something to search in Spring Security Forums. I solved my configuration for Spring Security searching on the web since we have a very special config there, so nothing that I can recall that can be posted here. Sorry about that.
El lun., 13 may. 2019 a las 18:27, Ravics32 (<raviau...@gmail.com>) escribió: > Thanks for your response. I have declared "amf" > because**<channel-definition > id="my-amf" class="mx.messaging.channels.AMFChannel"> <endpoint > url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" > class="flex.messaging.endpoints.AMFEndpoint"/> </channel-definition>** > I forgot to tell that we are using spring security in backend service Can > you please tell how can I tell my spring security to allow me for message > borker to allow my request > > errorReply: Flex Message (flex.messaging.messages.ErrorMessage) > clientId = 7897F319-CE0F-276A-8D68-C1C16599ECDD > correlationId = > destination = null > messageId = 7897F4A7-C10C-4031-3676-D45B1249EA05 > timestamp = 1557737177681 > timeToLive = 0 > body = null > code = Server.Processing > message = There was an unhandled failure on the server. > java.lang.NullPointerException > details = null > rootCause = null > body = null > extendedData = null > Exception: java.lang.NullPointerException > at > java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) > at > flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1373) > at > > flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005) > at > > flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103) > at > flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158) > at > flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44) > at > > flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67) > at > > flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166) > at > > flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291) > at > flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) > at > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) > at > org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) > at > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) > at > > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) > at > > org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.java:107) > at > > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) > at > > org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) > at > > org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) > at > > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) > > > > -- > Sent from: http://apache-flex-users.2333346.n4.nabble.com/ > -- Carlos Rovira http://about.me/carlosrovira