NIHVIVO-2279 Remove LoginStatusBean methods isLoggedInAtLeast() and isLoggedInExactly()
This commit is contained in:
parent
320ca3c8b0
commit
a8b74facd1
3 changed files with 7 additions and 12 deletions
|
@ -168,14 +168,6 @@ public class LoginStatusBean {
|
|||
return authenticationSource != AuthenticationSource.UNKNOWN;
|
||||
}
|
||||
|
||||
public boolean isLoggedInExactly(int level) {
|
||||
return securityLevel == level;
|
||||
}
|
||||
|
||||
public boolean isLoggedInAtLeast(int minimumLevel) {
|
||||
return securityLevel >= minimumLevel;
|
||||
}
|
||||
|
||||
public boolean hasExternalAuthentication() {
|
||||
return authenticationSource == AuthenticationSource.EXTERNAL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue