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¶meterautologinlogin=test¶meterautologinpassword=test
if portal login email put url:
http://localhost:8082/path¶meterautologinlogin=test@domain.com¶meterautologinpassword=test
this works urls of portal. no matters path.
Comments
Post a Comment