Commit fbb2a21c authored by Raj Shah's avatar Raj Shah
Browse files

Release 3.2.51

parent 7f5e9d2c
...@@ -85,7 +85,7 @@ public class PolicyIdUtil { ...@@ -85,7 +85,7 @@ public class PolicyIdUtil {
if (URN_POLICY_PATTERN.matcher(urn).matches()) { if (URN_POLICY_PATTERN.matcher(urn).matches()) {
setILPAttributesByUrn(urn, instance); setILPAttributesByUrn(urn, instance);
} else { } else {
throw new IllegalArgumentException("URN " + " " + urn + " does not match the pattern " + URN_POLICY_PATTERN); throw new IllegalArgumentException("URN " + urn + " does not match the pattern " + URN_POLICY_PATTERN);
} }
} }
......
...@@ -126,8 +126,8 @@ public class ModifierList extends ArrayList<Modifier> { ...@@ -126,8 +126,8 @@ public class ModifierList extends ArrayList<Modifier> {
public void setParameters(ModifierList params) { public void setParameters(ModifierList params) {
if (params != null) { if (params != null) {
this.clear(); this.clear();
this.addAll(params);
} }
this.addAll(params);
} }
/* /*
......
...@@ -143,14 +143,14 @@ public class Parameter<T> extends Ind2uceEntity { ...@@ -143,14 +143,14 @@ public class Parameter<T> extends Ind2uceEntity {
return true; return true;
} }
/** // /**
* Gets the data object java type. // * Gets the data object java type.
* // *
* @return the data object java type // * @return the data object java type
*/ // */
public Type getDataObjectJavaType() { // public Type getDataObjectJavaType() {
return this.value.getJavaType(); // return this.value.internJavaType();
} // }
/** /**
* Gets the name of the parameter. * Gets the name of the parameter.
......
/*-
* =================================LICENSE_START=================================
* IND2UCE
* %%
* Copyright (C) 2017 Fraunhofer IESE (www.iese.fraunhofer.de)
* %%
* 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.
* =================================LICENSE_END=================================
*/
package de.fraunhofer.iese.ind2uce.connectors;
/**
* Authentication Token
*/
public interface Authentication {
/**
* The identity of the principal being authenticated. In the case of an authentication
* request with username and password, this would be the username. Callers are
* expected to populate the principal for an authentication request.
* <p>
*
* @return the <code>Principal</code> being authenticated or the authenticated
* principal after authentication.
*/
Object getPrincipal();
/**
* The credentials that prove the principal is correct. This is usually a password,
* but could be anything relevant to authentication System. Callers
* are expected to populate the credentials.
*
* @return the credentials that prove the identity of the <code>Principal</code>
*/
Object getCredentials();
}
...@@ -44,9 +44,4 @@ public @interface Connector { ...@@ -44,9 +44,4 @@ public @interface Connector {
*/ */
ComponentType type(); ComponentType type();
/**
* Connector version as a string.
*/
String version();
} }
Markdown is supported
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