public final class SecurityCheck extends java.lang.Object implements ISetOpModeProtection
Constructor and Description |
---|
SecurityCheck(boolean neverPass,
OpModeListe geschuetzteOpModes) |
Modifier and Type | Method and Description |
---|---|
void |
check()
Deprecated.
|
void |
check(OpMode opMode,
java.lang.String passwort)
Passed == NoOp else AccessControlException
|
OpModeListe |
getGeschuetzteOpModeList() |
static SecurityCheck |
getNoCheck() |
public SecurityCheck(boolean neverPass, OpModeListe geschuetzteOpModes)
geschuetzteOpModes
- != BBE und enthaelt implementierten ModeneverPass
- == true => check immer mit Exception, sonst niejava.lang.IllegalArgumentException
- sofort für (BBE == geschuetzteOpModes),
später falls kein ungeschützter OpMode zugänglich istpublic static final SecurityCheck getNoCheck()
@Deprecated public void check() throws java.security.AccessControlException
ISetOpModeProtection
check
in interface ISetOpModeProtection
java.security.AccessControlException
public void check(OpMode opMode, java.lang.String passwort)
ISetOpModeProtection
check
in interface ISetOpModeProtection
public OpModeListe getGeschuetzteOpModeList()
getGeschuetzteOpModeList
in interface ISetOpModeProtection
13-September-2017 07:50 Deutsches Elektronen-Synchrotron DESY in der Helmholtz-Gemeinschaft