Package: KapuaAuthorizationSettingKeys
KapuaAuthorizationSettingKeys
name | instruction | branch | complexity | line | method | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
KapuaAuthorizationSettingKeys(String, int, String) |
|
|
|
|
|
||||||||||||||||||||
key() |
|
|
|
|
|
||||||||||||||||||||
static {...} |
|
|
|
|
|
Coverage
1: /*******************************************************************************
2: * Copyright (c) 2016, 2022 Eurotech and/or its affiliates and others
3: *
4: * This program and the accompanying materials are made
5: * available under the terms of the Eclipse Public License 2.0
6: * which is available at https://www.eclipse.org/legal/epl-2.0/
7: *
8: * SPDX-License-Identifier: EPL-2.0
9: *
10: * Contributors:
11: * Eurotech - initial API and implementation
12: * Red Hat Inc
13: *******************************************************************************/
14: package org.eclipse.kapua.service.authorization.shiro.setting;
15:
16: import org.eclipse.kapua.commons.setting.SettingKey;
17:
18: /**
19: * Authorization setting key
20: */
21: public enum KapuaAuthorizationSettingKeys implements SettingKey {
22: AUTHORIZATION_KEY("authorization.key"),
23: AUTHORIZATION_EVENT_ADDRESS("authorization.eventAddress");
24:
25: private String key;
26:
27: private KapuaAuthorizationSettingKeys(String key) {
28: this.key = key;
29: }
30:
31: @Override
32: public String key() {
33: return key;
34: }
35: }