Commit f02a611f authored by Francesco Chicchiriccò's avatar Francesco Chicchiriccò
Browse files

Minor refinements

parent da683474
/* /*
* Copyright 2015 The CHOReVOLUTION project * Copyright 2016 The CHOReVOLUTION project
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
......
/*
* Copyright 2016 The CHOReVOLUTION project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package eu.chorevolution.securityfilter.api; package eu.chorevolution.securityfilter.api;
public class SecurityFilterConfiguration { public class SecurityFilterConfiguration {
String URL;
private String url;
public String getURL() { public String getURL() {
return URL; return url;
} }
public void setURL(String uRL) { public void setURL(String url) {
URL = uRL; this.url = url;
} }
} }
...@@ -61,11 +61,12 @@ public interface SecurityFilterManagement { ...@@ -61,11 +61,12 @@ public interface SecurityFilterManagement {
void securityContext(SecurityContext securityContext); void securityContext(SecurityContext securityContext);
/** /**
* Push FederationServerURL * Push the FederationServer URL.
* @param URL FederationServerURL *
* @param config FederationServerURL
*/ */
@POST @PUT
@Path("federationServerURL") @Path("federationServerURL")
@Consumes({ MediaType.APPLICATION_JSON }) @Consumes({ MediaType.APPLICATION_JSON })
public void federationServerURL(SecurityFilterConfiguration config); void federationServerURL(SecurityFilterConfiguration config);
} }
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