Commit 392f21ad authored by Francesco Chicchiricco's avatar Francesco Chicchiricco
Browse files

Using the new eu.chorevolution.securityfilter:sf-provision-data and...

Using the new eu.chorevolution.securityfilter:sf-provision-data and eu.chorevolution.sts:sts-provision-data
parent 199f561e
......@@ -57,17 +57,15 @@ limitations under the License.
</dependency>
<dependency>
<groupId>eu.chorevolution.idm</groupId>
<artifactId>connid-federation-server</artifactId>
<version>0.1-SNAPSHOT</version>
<groupId>eu.chorevolution.sts</groupId>
<artifactId>sts-provision-data</artifactId>
</dependency>
<dependency>
<groupId>eu.chorevolution.idm</groupId>
<artifactId>connid-security-filter</artifactId>
<version>0.1-SNAPSHOT</version>
<groupId>eu.chorevolution.securityfilter</groupId>
<artifactId>sf-provision-data</artifactId>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
......
......@@ -15,35 +15,41 @@
*/
package eu.chorevolution.idm.choremocks.fs;
import eu.chorevolution.idm.connid.federationserver.api.EndUser;
import eu.chorevolution.idm.connid.federationserver.api.FederationServerEndUserService;
import eu.chorevolution.securitytokenservice.federationserver.api.EndUser;
import eu.chorevolution.securitytokenservice.federationserver.api.FederationServerEndUserService;
import java.util.Collections;
import java.util.List;
import javax.ws.rs.core.GenericEntity;
import javax.ws.rs.core.Response;
import org.springframework.stereotype.Service;
@Service
public class FederationServerEndUserServiceImpl implements FederationServerEndUserService {
@Override
public List<EndUser> list(final String domain) {
return Collections.emptyList();
public Response list(final String domain) {
return Response.ok(new GenericEntity<List<EndUser>>(Collections.emptyList()) {
}).build();
}
@Override
public void create(final String domain, final EndUser enduser) {
public Response create(final String domain, final EndUser enduser) {
return Response.status(Response.Status.NO_CONTENT).build();
}
@Override
public EndUser read(final String domain, final String username) {
return null;
public Response read(final String domain, final String username) {
return Response.status(Response.Status.NOT_FOUND).build();
}
@Override
public void update(final String domain, final String username, final EndUser enduser) {
public Response update(final String domain, final String username, final EndUser enduser) {
return Response.status(Response.Status.NO_CONTENT).build();
}
@Override
public void delete(final String domain, final String username) {
public Response delete(final String domain, final String username) {
return Response.status(Response.Status.NO_CONTENT).build();
}
}
......@@ -15,9 +15,9 @@
*/
package eu.chorevolution.idm.choremocks.sf;
import eu.chorevolution.idm.connid.securityfilter.api.RuntimeInfo;
import eu.chorevolution.idm.connid.securityfilter.api.SecurityFilterManagement;
import eu.chorevolution.idm.connid.securityfilter.api.Status;
import eu.chorevolution.securityfilter.api.RuntimeInfo;
import eu.chorevolution.securityfilter.api.SecurityFilterManagement;
import eu.chorevolution.securityfilter.api.Status;
import org.springframework.stereotype.Service;
@Service
......
......@@ -124,6 +124,18 @@ limitations under the License.
<artifactId>syncope-client-enduser</artifactId>
<version>${syncope.version}</version>
</dependency>
<dependency>
<groupId>eu.chorevolution.sts</groupId>
<artifactId>sts-provision-data</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>eu.chorevolution.securityfilter</groupId>
<artifactId>sf-provision-data</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
</dependencyManagement>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment