Closed 9Khaled9 closed 8 years ago
it looks like a config problem, although not sure exactly where. Please take a look at the configuration of CAS: https://github.com/OpenIotOrg/openiot/wiki/Security-Use-Server
also check https://github.com/OpenIotOrg/openiot/wiki/Security-Use-Client
and the security-config.ini file
did you solve the problem ?
Not yet ... I'm still trying to solve it
you can access the http://localhost:8080/security.management only from your local enviroment, you can not acess it for outside. When i try to access from my browser to the virtual machine i get the same error but when i access form inside the VM it is working.
so the solution is to access directly form the VM , if you use linux server without GUI , install xterm then the browser and access http://localhost:8080/security.management :D
Thank you milangroshev, i have resolved it some other way..
can you share how ? because i need to resolve it still :D i want to access OpenIoT form any browser not just the local one ...
please share the solution :D
While reading the issue of Zoya2385 (http://localhost:8080/lsm-light.server/ not working #116), I noticed the response of Nikos Kefalakis: "Dear Zoya, Since you are working on localhost you should replace all the properties pointing to "lsm.deri.ie" with the "localhost" (as you corectly did for LSM-Light properties). For example i see that the "security.lsm.graphURL" points to "http://lsm.deri.ie/OpenIoT/OAuth#" I hope this will help. Nikos." So i replaced all properties pointing to "lsm.deri.ie" with the "localhost" in openiot.properties since i work locally, and then the CAS server accepted localhost request (or 127.0.0.1 client).
Hope to be useful for you and be your solution...
for local host is working also for me , but i want to make it public. I want to be able to access the web gui from my desktop.
to have openiot run on public ip, you will need to do the following
/prem
On Sat, May 7, 2016 at 12:40 AM, milangroshev notifications@github.com wrote:
for local host is working also for me , but i want to make it public. I want to be able to access the web gui from my desktop.
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/OpenIotOrg/openiot/issues/120#issuecomment-217458257
I deal it with rewritting this file: classes/services/Apereo-10000002.json "serviceId" : "^https://www.apereo.org" ---> "serviceId" : "^http.*"
Hello, my previews bug affect the rest of my application in the OpenIoT Platform... i successfully deploy:
and that links open normally:
The problem is that when i try to login in https://localhost:8443/openiot-cas/login page, or in http://localhost:8080/security.management/ page, or to open application in http://localhost:8080/ui.requestDefinition/ page, or to open request presentation in http://localhost:8080/ui.requestPresentation/ page, or to login to schema editor in http://localhost:8080/ui.schemaeditor/ page, or to press any link in http://localhost:8080/ide.core/home.jsf page, i get the same error:
Application Not Authorized to Use CAS The application you attempted to authenticate to is not authorized to use CAS. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
The JBoss server return errors in command prompt, for example:
Can anyone help me please??? Is there a file to edit it ???? Thanks in advance...