[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [mdmbl-dev] Problem with Webclient Setup | 
 
 
  
   Hi Matthias,
  
  
   
  
  
   thanks for the pointers, in the security log I saw that the login is actually successful and the server was properly configured. But after the login, the access to the web resources is denied.
  
  
   
  
  
  
   
  
  
   But after this the GET Requests to the js files that are referenced from the index.html fail. Upon further investigation, I discovered that for some reason, Chrome does not set the Cookie it got from the j_security_check.
  
  
   
  
  
   This led me to the idea to try it with Firefox, and there it just worked and the application showed up! 
  
  
   
  
  
   And in Edge -> works too!
  
  
   And in Chrome with incognito modus? -> works too!
  
  
   
  
  
   But even after cleaning all cookies and locally stored resources, it still didn't work in the normal Chrome.
  
  
   
  
  
    But as long as it works with some browser, it's ok for now. In case
  
  
   someone else has the this problem in the future, you can recommend to try another browser :)
  
  
   
  
  
   Thanks for your help!
  
  
   
  
  
   Best,
  
  
   
  
  
   Fabian
  
  
  
   m.koller@xxxxxxxxxxxxxxxx hat am 15. Oktober 2019 um 11:55 geschrieben: 
   
   
   
    Hi Fabian,
    
    the credentials are checked when posting to j_security_check. You should receive a 302 with a redirect to http://localhost:8080/org.eclipse.mdm.nucleus/. What response did you receive for this request?
    
    Did the ConnectorService log something to the mdm5.log?
    
    You can also try increase the log level for javax.enterprise.system.core.security to get more information during the login.
    
    Best,
    Matthias
       
    
     
      Von: mdmbl-dev-bounces@xxxxxxxxxxx [mailto:mdmbl-dev-bounces@xxxxxxxxxxx] Im Auftrag von Fabian Dreier
Gesendet: Montag, 14. Oktober 2019 17:36
An: mdmbl developer discussions <mdmbl-dev@xxxxxxxxxxx>; Angelika Wittek, openMDM(R) <awittek.openmdm@xxxxxxxxxxxxxxxxxx>
Betreff: Re: [mdmbl-dev] Problem with Webclient Setup 
      
     
    
    
    
    
     I'm using the version that is tagged with 5.1.0M5, with Glassfish version 5.1 and the AvalonODS Server 4.7.
     
    
    
    
    
    
     ________________________________________________
     
    
    
     "Angelika Wittek, openMDM(R)" <awittek.openmdm@xxxxxxxxxxxxxxxxxx> hat am 14. Oktober 2019 um 17:30 geschrieben:
     Hi Fabian,
     can you please provide the information which data source (ODS Server, version number) you use?
     Thanks
Angelika
     
      Am 14.10.19 um 17:19 schrieb Fabian Dreier:
      
     
      
      
      
       out of curiosity, we wanted to check how our application data (with a slightly changed data model) would look like when accessing it with the openMDM webclient.
       
      
      
       Unfortunately, we had some problems setting up the environement and there still seems to be a configuration issue or authentication issue of some sort.
       
      
      
       The login mask appears, and the credentials of the configured user seem to be accepted, since we get a jsessionId back from the server.
       
      
      
      
       But then, the behaviour is somewhat strange since the server returns the login form for all further requests (for example for the js-files).
       
      
      
      
      
       There is nothing suspicious in the server logs.
       
      
      
       Does anybody have an idea what we might be doing wrong?
       
      
      
      
      
      
      
      
      
      _______________________________________________
       
      mdmbl-dev mailing list
       
      mdmbl-dev@xxxxxxxxxxx
       
      To change your delivery options, retrieve your password, or unsubscribe from this list, visit
       
      https://www.eclipse.org/mailman/listinfo/mdmbl-dev
       
     
     -- 
      
     openMDM(R) EWG product manager
      
           
        
      
     mail: awittek.openMDM@xxxxxxxxxxxxxxxxxx
      
     phone: +49 1577 1900802 
      
     _______________________________________________ 
mdmbl-dev mailing list 
mdmbl-dev@xxxxxxxxxxx 
To change your delivery options, retrieve your password, or unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/mdmbl-dev
    
    
    _______________________________________________ 
   
mdmbl-dev mailing list 
   
mdmbl-dev@xxxxxxxxxxx 
   
To change your delivery options, retrieve your password, or unsubscribe from this list, visit 
   
https://www.eclipse.org/mailman/listinfo/mdmbl-dev