| ... | @@ -60,4 +60,16 @@ var resolveConfig = function (scriptingEnv, configMap, identity, logger) { |
... | @@ -60,4 +60,16 @@ var resolveConfig = function (scriptingEnv, configMap, identity, logger) { |
|
|
configMap.put("adminRole", "StandardTokenRealmRole");
|
|
configMap.put("adminRole", "StandardTokenRealmRole");
|
|
|
configMap.put("userId", identity.getTwoFaUserName());
|
|
configMap.put("userId", identity.getTwoFaUserName());
|
|
|
};
|
|
};
|
|
|
|
```
|
|
|
|
|
|
|
|
At the moment LinOTP and PrivacyIDEA are supported. Standard is LinOTP, to use PrivacyIDEA set the manager class in the config Map.
|
|
|
|
|
|
|
|
```javascript
|
|
|
|
configMap.put("managerClass", "edu.kit.scc.webreg.service.twofa.pidea.PITokenManager");
|
|
|
|
```
|
|
|
|
|
|
|
|
Since RegApp version 2.8.2 also eduMFA is supported.
|
|
|
|
|
|
|
|
```javascript
|
|
|
|
configMap.put("managerClass", "edu.kit.scc.webreg.service.twofa.edumfa.EduMFATokenManager");
|
|
|
``` |
|
``` |
|
|
|
\ No newline at end of file |