Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ind2uce
core
Commits
fbb2a21c
Commit
fbb2a21c
authored
Feb 26, 2018
by
Raj Shah
Browse files
Release 3.2.51
parent
7f5e9d2c
Changes
127
Expand all
Show whitespace changes
Inline
Side-by-side
src/main/java/de/fraunhofer/iese/ind2uce/api/policy/identifier/ActionId.java
View file @
fbb2a21c
src/main/java/de/fraunhofer/iese/ind2uce/api/policy/identifier/DecisionId.java
View file @
fbb2a21c
src/main/java/de/fraunhofer/iese/ind2uce/api/policy/identifier/MechanismId.java
View file @
fbb2a21c
src/main/java/de/fraunhofer/iese/ind2uce/api/policy/identifier/PolicyId.java
View file @
fbb2a21c
src/main/java/de/fraunhofer/iese/ind2uce/api/policy/identifier/PolicyIdUtil.java
View file @
fbb2a21c
...
@@ -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
);
}
}
}
}
...
...
src/main/java/de/fraunhofer/iese/ind2uce/api/policy/identifier/package-info.java
View file @
fbb2a21c
src/main/java/de/fraunhofer/iese/ind2uce/api/policy/package-info.java
View file @
fbb2a21c
src/main/java/de/fraunhofer/iese/ind2uce/api/policy/parameter/DataObject.java
View file @
fbb2a21c
This diff is collapsed.
Click to expand it.
src/main/java/de/fraunhofer/iese/ind2uce/api/policy/parameter/DataType.java
View file @
fbb2a21c
src/main/java/de/fraunhofer/iese/ind2uce/api/policy/parameter/ModifierList.java
View file @
fbb2a21c
...
@@ -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
);
}
}
/*
/*
...
...
src/main/java/de/fraunhofer/iese/ind2uce/api/policy/parameter/Parameter.java
View file @
fbb2a21c
...
@@ -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
.
get
JavaType
();
//
return this.value.
intern
JavaType();
}
//
}
/**
/**
* Gets the name of the parameter.
* Gets the name of the parameter.
...
...
src/main/java/de/fraunhofer/iese/ind2uce/api/policy/parameter/ParameterList.java
View file @
fbb2a21c
src/main/java/de/fraunhofer/iese/ind2uce/api/policy/parameter/ParameterListProvider.java
View file @
fbb2a21c
src/main/java/de/fraunhofer/iese/ind2uce/api/policy/parameter/package-info.java
View file @
fbb2a21c
src/main/java/de/fraunhofer/iese/ind2uce/connectors/Authentication.java
0 → 100644
View file @
fbb2a21c
/*-
* =================================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
();
}
src/main/java/de/fraunhofer/iese/ind2uce/connectors/Connector.java
View file @
fbb2a21c
...
@@ -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
();
}
}
src/main/java/de/fraunhofer/iese/ind2uce/connectors/ConnectorFactory.java
View file @
fbb2a21c
This diff is collapsed.
Click to expand it.
src/main/java/de/fraunhofer/iese/ind2uce/connectors/OAuthCredentials.java
View file @
fbb2a21c
This diff is collapsed.
Click to expand it.
src/main/java/de/fraunhofer/iese/ind2uce/connectors/UsernamePasswordAuthentication.java
0 → 100644
View file @
fbb2a21c
This diff is collapsed.
Click to expand it.
src/main/java/de/fraunhofer/iese/ind2uce/connectors/package-info.java
View file @
fbb2a21c
Prev
1
2
3
4
5
6
7
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment