[Architecture] Methods to get currentSubject and currentStep in authentication script

2018-07-10 Thread Senthalan Kanagalingam
Hi all, I am working on to get the currently authenticated subject and currently executing step from the authentication script. Now, if the identity admin wants to get the authenticated subject, he/she has to know which step was set as the subject identifier step and have to call,

Re: [Architecture] SAML Artifact Binding - Server Side Implementations

2018-07-10 Thread Vihanga Liyanage
Hi all, With the discussion we had today, we have decided to go with below database structure. IDN_SAML2_ARTIFACT_STORE PK ID INT NOT NULL SOURCE_ID BLOB NOT NULL MESSAGE_HANDLER BLOB NOT NULL AUTHN_REQ_DTO BLOB NOT NULL SESSION_ID VARCHAR(255) NOT NULL INTI_TIMESTAMP DATETIME NOT NULL

Re: [Architecture] [APIM] REST API Support for Dynamic SSL Certificate Installation Feature.

2018-07-10 Thread Malintha Amarasinghe
On Tue, 10 Jul 2018, 14:40 Sanjeewa Malalgoda, wrote: > In our REST API design we keep using UUID to represent path to atomic > resource. Sometimes even we had unique attribute we still used auto > generated UUID. If we are using alias to identify resource within resource > collection we are

Re: [Architecture] [APIM] REST API Support for Dynamic SSL Certificate Installation Feature.

2018-07-10 Thread Sanjeewa Malalgoda
In our REST API design we keep using UUID to represent path to atomic resource. Sometimes even we had unique attribute we still used auto generated UUID. If we are using alias to identify resource within resource collection we are deviating from that convention. So i think we need to think about

Re: [Architecture] [APIM] REST API Support for Dynamic SSL Certificate Installation Feature.

2018-07-10 Thread Menaka Jayawardena
Hi Mushthaq/ Fazlan, Thank you very much for the suggestions. I have used the resource path as* '/certificates/{alias}/info'* because it's self-explanatory. The main objective of the API (the initial thought) is to get the status of the certificate. (Whether it is expired or not and the expiry

Re: [Architecture] [MB4] Restful Admin API's for Message Broker

2018-07-10 Thread Sasikala Kottegoda
Hi Hasitha, We close the connection from the server side. Thank you, Sasikala On Tue, Jul 10, 2018 at 1:57 PM Hasitha Hiranya wrote: > Hi Sasikala, > > Close Connection - here we close the connection from server side? Or ask > client to close itself? Former is better, if we can do, because

Re: [Architecture] [APIM] REST API Support for Dynamic SSL Certificate Installation Feature.

2018-07-10 Thread Fazlan Nazeem
Hi Menaka, DELETE is expecting alias in a query param and GET is expecting it to be passed in a path param. I think modifying DELETE as DELETE certidicates/{alias} and GET as GET certificate/{alias} is more Restful. On Tue, Jul 10, 2018 at 12:09 PM Menaka Jayawardena wrote: > Hi, > > I'm

Re: [Architecture] [MB4] Restful Admin API's for Message Broker

2018-07-10 Thread Hasitha Hiranya
Hi Sasikala, Close Connection - here we close the connection from server side? Or ask client to close itself? Former is better, if we can do, because then sever has the control of it. Thanks On Tue, Jul 10, 2018 at 10:19 AM Sasikala Kottegoda wrote: > Hi all, > > I am working on adding a

Re: [Architecture] [APIM] REST API Support for Dynamic SSL Certificate Installation Feature.

2018-07-10 Thread Mushthaq Rumy
Hi Menaka, Is there any particular reason for making the path as '/certificates/{alias}/info' to get the certificate details rather than going for the path '/certificates/{alias}'? Thanks & Regards, Mushthaq On Tue, Jul 10, 2018 at 12:09 PM Menaka Jayawardena wrote: > Hi, > > I'm working on

Re: [Architecture] [MB4] Restful Admin API's for Message Broker

2018-07-10 Thread Sasikala Kottegoda
Hi all, I am working on adding a separate api for managing AMQP connections. Following are the operations that are planned to be implemented. *Base path: /broker/v1.0/amqp* Operation Method Path Response 1 Get All Connection GET /connections HTTP/1.1 200 OK [ { connectedIp: "/127.0.0.1:48508",

[Architecture] [APIM] REST API Support for Dynamic SSL Certificate Installation Feature.

2018-07-10 Thread Menaka Jayawardena
Hi, I'm working on implementing a REST API for the Dynamic Certificate Installation feature for API Manager. (User stories ) The current implementation only supports add, retrieve and delete