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:
parent
3ce9da9eec
commit
61d95dbf5c
5 changed files with 69 additions and 27 deletions
|
@ -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.");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue