How to pass login credentials to "Activiti Explorer" using the post method? -


i'm trying access activiti explorer liferay portlet. idea bypass activiti login adding username , password url. like:

   <a href="http://localhost:8082/activiti-explorer/#processmodel/50?id_=kermit&pwd_=kermit">vedi grafico</a> 

disabling login function too, don't think can done. have ideas on how best proceed? thank you!

it not idea put user , password in hiperlink. if have clear ideas, best way parameterautologin.

ensure have active hook in portal-ext.properties, if not case should add parameterautologin , reboot portal:

auto.login.hooks=com.liferay.portal.security.auth.parameterautologin 

then if portal login screenname put url:

http://localhost:8082/path&parameterautologinlogin=test&parameterautologinpassword=test

if portal login email put url:

http://localhost:8082/path&parameterautologinlogin=test@domain.com&parameterautologinpassword=test

this works urls of portal. no matters path.


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -