git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerCore@12397 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
f945eb2946
commit
09dbdfb647
|
@ -61,12 +61,12 @@ public class ApplicationCredentials {
|
|||
//user "application" does not exist on this VRE, so we add him and try to get credential again
|
||||
VOMSAdminImpl vomsA;
|
||||
try {
|
||||
// vomsA = VOMSAdminManager.getVOMSAdmin();
|
||||
vomsA = VOMSAdminManager.getVOMSAdmin();
|
||||
// String[] roles = vomsA.listRoles();
|
||||
// vomsA.createUser("application", userDN+"application", userCA, "application@gcube.org");
|
||||
// vomsA.addMember(VREname, userDN+"application", userCA);
|
||||
// vomsA.assignRole(VREname, roles[0], userDN+"application", userCA);
|
||||
vomsA = new VOMSAdminImpl();
|
||||
// vomsA = new VOMSAdminImpl();
|
||||
String[] roles = vomsA.getPortType().listRoles();
|
||||
vomsA.getExtendedPortType().createUser("application", userDN+"application", userCA, "application@gcube.org");
|
||||
vomsA.getExtendedPortType().addOnlineCAMember(VREname, userDN+"application");
|
||||
|
|
Loading…
Reference in New Issue