示例#1
0
 protected String createSamlClient(String name) {
   ClientRepresentation clientRep = new ClientRepresentation();
   clientRep.setClientId(name);
   clientRep.setName(name);
   clientRep.setProtocol("saml");
   clientRep.setAdminUrl("samlEndpoint");
   return createClient(clientRep);
 }
示例#2
0
 protected String createOidcClient(String name) {
   ClientRepresentation clientRep = new ClientRepresentation();
   clientRep.setClientId(name);
   clientRep.setName(name);
   clientRep.setRootUrl("foo");
   clientRep.setProtocol("openid-connect");
   return createClient(clientRep);
 }