ivo://org.astrogrid.test.cam /dave/public/data/dataset.2004.03.30.xml
ivo://org.astrogrid.test.cam /dave#public/data/dataset.2004.03.30.xml
ivo://org.astrogrid.test.codon
ivo://org.astrogrid.test.cam
ivo://org.astrogrid.test.mssl
ivo://org.astrogrid.test.le
ivo://org.astrogrid.test.roe
ivo://org.astrogrid.test.cam/dave /public/data/dataset.2004.03.30.xml
ivo://org.astrogrid.test.cam/dave #public/data/dataset.2004.03.30.xml
ivo://org.astrogrid.test.cam#dave /public/data/dataset.2004.03.30.xml
ivo://org.astrogrid.test.cam/dave/public/data/dataset.2004.03.30.xml
the SecurityServiceResolver? will parse the IVO identifier to get the service identifier,
ivo://org.astrogrid.test.cam /dave/public/data/dataset.2004.03.30.xml
The AstroGrid Registry should contain an entry for a SecurityService? with this the authority ID, which includes the URL for the service WSDL.
<VODescription>
<Resource>
<AuthorityID>org.astrogrid.test.cam</AuthorityID>
<ResourceKey>org.astrogrid.community.common.security.service.SecurityService</ResourceKey>
</Resource>
....
<Interface>
<Invocation>WebService</Invocation>
<AccessURL use="base">http://capc49.ast.cam.ac.uk:8080/astrogrid-community/services/SecurityService?wsdl</AccessURL>
</Interface>
</VODescription>
The SecurityServiceResolver? uses the service identifier lookup the WSDL location in the Registry, resolves
the service endpoint from the WSDL, and returns a SecurityServiceDelegate? for the service.
ivo://org.astrogrid.test.cam/dave/public/data/dataset.2004.03.30.xml
the CommunityAccountResolver? will parse the identifier to get the service identifier,
ivo://org.astrogrid.test.cam /dave/public/data/dataset.2004.03.30.xml
and account identifier,
ivo://org.astrogrid.test.cam/dave /public/data/dataset.2004.03.30.xml
The CommunityAccountResolver? will call the Registry to lookup Community service endpoint,
call the Community service to request the account details, and returns an Accountdata object containing
the details of the account.
<account ident="ivo://org.astrogrid.test.cam/dave">
<display>Dave Morris</display>
<description>Astrogrid developer</description>
<home>ivo://org.astrogrid.test.roe/org.astrogrid.test.cam/dave</home>
<email>dave@mail.astrogrid.org</email>
</account>
ivo://org.astrogrid.test.cam/dave/public/data/dataset.2004.03.30.xml
The CommunityAccountSpaceResolver? will parse the identifier to get the service identifier,
ivo://org.astrogrid.test.cam /dave/public/data/dataset.2004.03.30.xml
and account identifier,
ivo://org.astrogrid.test.cam/dave /public/data/dataset.2004.03.30.xml
The CommunityAccountSpaceResolver? calls the Registry to lookup the Community service with this identifier,
and then calls the Community service to request the account details, including the account home space identifier.
<account ident="ivo://org.astrogrid.test.cam/dave">
<display>Dave Morris</display>
<description>Astrogrid developer</description>
<home>ivo://org.astrogrid.test.roe/org.astrogrid.test.cam/dave</home>
<email>dave@mail.astrogrid.org</email>
</account>
In this example, the account has space allocated on a MySpace service at Edinburgh, identified by,
ivo://org.astrogrid.test.roe/org.astrogrid.test.cam/dave
The CommunityAccountSpaceResolver? will combine the home space identifier with the remainder of the original
identifier
ivo://org.astrogrid.test.cam/dave /public/data/dataset.2004.03.30.xml
and returun a new Ivorn identifier for the MySpace meta data,
ivo://org.astrogrid.test.roe/org.astrogrid.test.cam/dave/public/data/dataset.2004.03.30.xml
ivo://org.astrogrid.test.cam/dave/public/data/dataset.2004.03.30.xml
If this is an un-resolved identifier, then the authority ID of the identifier
ivo://org.astrogrid.test.cam /dave/public/data/dataset.2004.03.30.xml
refers to the Community service.
However, if the account has been allocated MySpace space at the same institute, then the MySpace service will have the same authority ID as the Community service.
This means that the identifier for the account MySpace home will be
ivo://org.astrogrid.test.cam/org.astrogrid.test.cam/dave
Where the authority ID of the identifier,
ivo://org.astrogrid.test.cam /org.astrogrid.test.cam/dave
refers to the MySPace? manager.
The two services are distinguished in the Registry by the specifying the service type in the resource key.
<VODescription>
<Resource>
<AuthorityID>org.astrogrid.test.cam</AuthorityID>
<ResourceKey>org.astrogrid.community.common.security.service.SecurityService</ResourceKey>
</Resource>
....
</VODescription>
and
<VODescription>
<Resource>
<AuthorityID>org.astrogrid.test.cam</AuthorityID>
<ResourceKey>org.astrogrid.store.myspace.MySpaceMgr</ResourceKey>
</Resource>
....
</VODescription>
Passing the original identifier,
ivo://org.astrogrid.test.cam/dave/public/data/dataset.2004.03.30.xml
to the CommunityAccountSpaceResolver? will result in the following steps.
ivo://org.astrogrid.test.cam.
<VODescription>
<Resource>
<AuthorityID>org.astrogrid.test.cam</AuthorityID>
<ResourceKey>org.astrogrid.community.common.policy.manager.PolicyManager</ResourceKey>
</Resource>
....
<Interface>
<Invocation>WebService</Invocation>
<AccessURL use="base">http://capc49.ast.cam.ac.uk:8080/astrogrid-community/services/PolicyManager?wsdl</AccessURL>
</Interface>
</VODescription>
<account ident="ivo://org.astrogrid.test.cam/dave">
<display>Dave Morris</display>
<description>Astrogrid developer</description>
<home>ivo://org.astrogrid.test.cam/org.astrogrid.test.cam/dave</home>
<email>dave@mail.astrogrid.org</email>
</account>
ivo://org.astrogrid.test.cam/org.astrogrid.test.cam/dave, from the account details.
public/data/dataset.2004.03.30.xml, to create a new Ivorn.
ivo://org.astrogrid.test.cam/org.astrogrid.test.cam/dave/public/data/dataset.2004.03.30.xml
refers to a MySpace metadata location in the MySpace service at Cambridge.
Comparing this with the original identifier, it is not possible to determine what type of service the authority ID refers to.
ivo://org.astrogrid.test.cam /dave/public/data/dataset.2004.03.30.xml
ivo://org.astrogrid.test.cam /org.astrogrid.test.cam/dave/public/data/dataset.2004.03.30.xml
![]() |
Click here for the AstroGrid Service Web |
This is the AstroGrid Development Wiki |
|