Home > Net >  Auto login web app from url using JAAS under JBoss
Auto login web app from url using JAAS under JBoss

Time:02-10

AP server: Jboss 7

Web app(APP_1) has custom login module (database) and custom login page(auth-method of login-config is BASIC), and another web app(APP_2) will generate an url with param(token) link to APP_1, if I want to auto login APP_1 without prompt login pagge, how shoule I do?

APP_2 -> url with parma(token) -> APP_1 -> get token from url and call some web service to get APP_1 user info and programmatic login APP_1

BTW, I don't have APP_1 source code, and ALL what I can do is to add custom login module for APP_1, modify Jboss xml.

any suggestions?

CodePudding user response:

  •  Tags:  
  • Related