-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
:fix: revised Domain declarations, domain's service name is no longer…
… included in the equality comparison, as it has no effect at all (and could be removed completely as a property) Signed-off-by: dseurotech <[email protected]>
- Loading branch information
1 parent
0558991
commit f603fc8
Showing
5 changed files
with
35 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...tication/src/main/java/org/eclipse/kapua/service/authentication/AuthenticationModule.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2021, 2022 Eurotech and/or its affiliates and others | ||
* | ||
* This program and the accompanying materials are made | ||
* available under the terms of the Eclipse Public License 2.0 | ||
* which is available at https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Eurotech - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.kapua.service.authentication; | ||
|
||
import com.google.inject.multibindings.ProvidesIntoSet; | ||
import org.eclipse.kapua.commons.core.AbstractKapuaModule; | ||
import org.eclipse.kapua.commons.model.domains.Domains; | ||
import org.eclipse.kapua.model.domain.Actions; | ||
import org.eclipse.kapua.model.domain.Domain; | ||
import org.eclipse.kapua.model.domain.DomainEntry; | ||
|
||
public class AuthenticationModule extends AbstractKapuaModule { | ||
@Override | ||
protected void configureModule() { | ||
} | ||
|
||
@ProvidesIntoSet | ||
public Domain brokerDomain() { | ||
return new DomainEntry(Domains.BROKER, "org.eclipse.kapua.broker.BrokerService", false, Actions.connect); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters