[ 
https://issues.apache.org/jira/browse/OFBIZ-12882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17812424#comment-17812424
 ] 

Daniel Watford commented on OFBIZ-12882:
----------------------------------------

Have you tried clearing cookies, [~ansaribe] ?

I haven't dug into the code yet, but I would expect security information to be 
based on data in cookies - i.e. the JSESSIONID cookie.

But since you haven't been able log in yet, perhaps this cookie is malformed. 

If clearing cookies resolves the issue, then we still probably have an issue to 
address since we would need to understand why an invalid cookie would trigger 
the issue you are seeing.

 

Regarding the 302 redirects - it is interesting that a request to 
'/webtools/control/main' results in a redirect to the exact same location.

> Login Failure - Received a null Security object from HttpServletRequest
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-12882
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12882
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: 18.12.11
>            Reporter: Ansari
>            Assignee: Jacques Le Roux
>            Priority: Major
>         Attachments: OFBiz ready.png, access_log..2024-01-29, error.log, 
> image-2024-01-29-10-11-04-181.png, image-2024-01-29-10-12-29-158.png, 
> image-2024-01-29-10-13-23-130.png, image-2024-01-29-15-40-10-198.png, 
> image-2024-01-30-08-32-41-790.png, image-2024-01-30-10-18-37-661.png, 
> image-2024-01-30-10-19-03-848.png, ofbiz-1.log, ofbiz-2.log, 
> ofbiz-2024-01-29-1.log, ofbiz.log
>
>
> Ofbiz fails with the following error on login.
> 2024-01-29 09:21:08,449 |jsse-nio-8443-exec-4 |LoginWorker                   
> |W| Received a null Security object from HttpServletRequest
> 2024-01-29 09:21:08,449 |jsse-nio-8443-exec-4 |ControlFilter                 
> |I| [Filtered request]: /webtools/control/main --> /control/main
> Installed JDK: OpenJDK 64-Bit Server VM Temurin-11.0.22+7



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to