NIHVIVO-1207 A user who logs in with external authentication but no internal user account gets a LoginStatusBean anyway - just with slightly different info.

This commit is contained in:
jeb228 2010-11-23 16:53:58 +00:00
parent 3ce9da9eec
commit 61d95dbf5c
5 changed files with 69 additions and 27 deletions

View file

@ -138,7 +138,7 @@ public class AuthenticatorStub extends Authenticator {
}
@Override
public void recordUserIsLoggedIn(String username) {
public void recordLoginAgainstUserAccount(String username) {
recordedLogins.add(username);
User user = getUserByUsername(username);
@ -175,4 +175,11 @@ public class AuthenticatorStub extends Authenticator {
"AuthenticatorStub.recordUserIsLoggedOut() not implemented.");
}
@Override
public void recordLoginWithoutUserAccount(String username,
String individualUri) {
throw new RuntimeException(
"AuthenticatorStub.recordLoginWithoutUserAccount() not implemented.");
}
}