porting to the new IAM

This commit is contained in:
Lucio Lelii 2020-11-17 15:37:12 +01:00
parent 43aa106b60
commit a77353fa2b
8 changed files with 12 additions and 6 deletions

View File

@ -26,7 +26,6 @@
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes> <attributes>
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry kind="output" path="target/classes"/> <classpathentry kind="output" path="target/classes"/>

View File

@ -7,7 +7,9 @@ org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
org.eclipse.jdt.core.compiler.release=disabled org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=1.8 org.eclipse.jdt.core.compiler.source=1.8

View File

@ -14,4 +14,7 @@
<Changeset component="authorization-library-2.1.6" date="2019-01-14"> <Changeset component="authorization-library-2.1.6" date="2019-01-14">
<Change>added ListMapper</Change> <Change>added ListMapper</Change>
</Changeset> </Changeset>
<Changeset component="authorization-library-2.3.0" date="2020-05-20">
<Change>thread local to manage OIDC UMA bearer token added</Change>
</Changeset>
</ReleaseNotes> </ReleaseNotes>

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.gcube.common</groupId> <groupId>org.gcube.common</groupId>
<artifactId>common-authorization</artifactId> <artifactId>common-authorization</artifactId>
<version>2.2.0</version> <version>2.3.0-SNAPSHOT</version>
<name>authorization service common library</name> <name>authorization service common library</name>
<parent> <parent>

View File

@ -34,8 +34,10 @@ public class AuthorizationEntry {
ClientInfo clientInfo; ClientInfo clientInfo;
private String context; private String context;
@XmlElementRefs({@XmlElementRef(type=DefaultServiceMap.class)})
@XmlElementRef(type = DefaultServiceMap.class)
private ServiceMap map; private ServiceMap map;
@XmlElementRefs({ @XmlElementRefs({
@XmlElementRef(type = Service2ServicePolicy.class), @XmlElementRef(type = Service2ServicePolicy.class),
@XmlElementRef(type = User2ServicePolicy.class), @XmlElementRef(type = User2ServicePolicy.class),

View File

@ -1 +1 @@
<authorization-endpoint priority="10" infrastructure="d4science.research-infrastructures.eu"><host>authorization.d4science.org</host><secure>false</secure><port>80</port></authorization-endpoint> <authorization-endpoint priority="10" infrastructure="d4science.research-infrastructures.eu"><host>authorization.d4science.org</host><secure>true</secure><port>443</port></authorization-endpoint>

View File

@ -1 +1 @@
<authorization-endpoint priority="10" infrastructure="gcube"><host>auth-d.dev.d4science.org</host><secure>false</secure><port>80</port></authorization-endpoint> <authorization-endpoint priority="10" infrastructure="gcube"><host>auth.dev.d4science.org</host><secure>true</secure><port>443</port></authorization-endpoint>

View File

@ -1 +1 @@
<authorization-endpoint priority="10" infrastructure="pred4s"><host>auth-pre.d4science.org</host><secure>false</secure><port>80</port></authorization-endpoint> <authorization-endpoint priority="10" infrastructure="pred4s"><host>auth-pre.d4science.org</host><secure>true</secure><port>443</port></authorization-endpoint>