NIHVIVO-1568 try to detect when a user restarts the login process: if they hit the Login link or come from a restricted page, it should restart the login process.
This commit is contained in:
parent
6adb72b267
commit
e74677ce8a
2 changed files with 40 additions and 15 deletions
|
@ -212,7 +212,6 @@ public class AuthenticateTest extends AbstractTestClass {
|
|||
// ----------------------------------------------------------------------
|
||||
|
||||
/** The "return" parameter is set, so we detect the restart. */
|
||||
@Ignore // TODO
|
||||
@Test
|
||||
public void restartFromALoginLink() {
|
||||
setProcessBean(LOGGING_IN, "username", URL_LOGIN, URL_SOMEWHERE_ELSE);
|
||||
|
@ -220,7 +219,6 @@ public class AuthenticateTest extends AbstractTestClass {
|
|||
}
|
||||
|
||||
/** The "return" parameter is set, so we detect the restart. */
|
||||
@Ignore // TODO
|
||||
@Test
|
||||
public void restartFromABookmarkOfTheLoginLink() {
|
||||
setProcessBean(LOGGING_IN, "username", URL_LOGIN, URL_SOMEWHERE_ELSE);
|
||||
|
@ -228,7 +226,6 @@ public class AuthenticateTest extends AbstractTestClass {
|
|||
}
|
||||
|
||||
/** The "afterLoginUrl" parameter is set, so we detect the restart. */
|
||||
@Ignore // TODO
|
||||
@Test
|
||||
public void restartFromARestrictedPage() {
|
||||
setProcessBean(LOGGING_IN, "username", URL_LOGIN, URL_SOMEWHERE_ELSE);
|
||||
|
@ -236,7 +233,6 @@ public class AuthenticateTest extends AbstractTestClass {
|
|||
}
|
||||
|
||||
/** The referrer is not the loginProcessPage, so we detect the restart. */
|
||||
@Ignore // TODO
|
||||
@Test
|
||||
public void restartFromADifferentWidgetPage() {
|
||||
setProcessBean(LOGGING_IN, "username", URL_LOGIN, URL_SOMEWHERE_ELSE);
|
||||
|
@ -244,7 +240,6 @@ public class AuthenticateTest extends AbstractTestClass {
|
|||
}
|
||||
|
||||
/** The referrer is not the loginProcessPage, so we detect the restart. */
|
||||
@Ignore // TODO
|
||||
@Test
|
||||
public void restartFromTheLoginPageWhenWeWereUsingAWidgetPage() {
|
||||
setProcessBean(LOGGING_IN, "username", URL_SOMEWHERE_ELSE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue