Hi,
I'm trying to pass my credential with os_username and os_password. However I did not find a way to secure my password. https://developer.atlassian.com/display/CONFDEV/Password+Hash+Algorithm does not seems to work for me.
How I can ensure security using a connection string like os_username=myuser&os_password=mypassword.
I'm getting these value from a kerberized Apache and point the login.url of seraph-config to my apache.
Thanks
Hi Mike,
Depends on what you're trying to secure.
If you just don't want your uname password to show up in the access logs, you can do something like:
francois:curl twong$ curl --basic --user admin:admin 'http://localhost:8080/login.jsp?os_destination=%2Fsecure%2FDashboard.jspa&os_authType=basic'
That is, you can use os_authType=basic to move the os_username/password stuff to normal basic auth.
If you are trying to secure the transport, then use https for the TLS. If you're talking about plaintext passwords in the code, that's a different ballgame.
I just did something easier.. Moved my request to POST instead of GET .... Works like a charm .. And yeah, I'm using SSL encryption as well.
Now I'm having my Apache doing a kerberos authentication and FW credentials to tomcat :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.