Re: [Architecture] [IS] Claim verification API

2019-02-14 Thread Vidura Nanayakkara
Hi Janak, Shouldn't the [POST] claim-verification/validate and [POST] claim-verification/confirm be a single step (ex: [POST] claim-verification/verify). If additional customization is required, it would be just overriding one method. WDYT? Best Regards, Vidura Nanayakkara On Thu, Feb 14, 2019

Re: [Architecture] C5 Modifying OSGi bundle deployment logic to support temporary patches (log patches, etc)

2017-05-17 Thread Vidura Nanayakkara
he client can start the server with an additional parameter. WDYT? Best Regards, Vidura Nanayakkara On Wed, May 17, 2017 at 6:01 PM, Jayanga Dissanayake <jaya...@wso2.com> wrote: > Hi Ruwan, > > Thanks for the comments. > > In every server startup, it checks the files li

Re: [Architecture] [UUF] Extensible Authorization for UUF

2017-05-17 Thread Vidura Nanayakkara
[2] Architecture mail thread "C5 based permission model for MB-4" Best Regards, Vidura Nanayakkara On Wed, May 17, 2017 at 4:30 PM, Imesh Gunaratne <im...@wso2.com> wrote: > > > On Wed, May 17, 2017 at 11:57 AM, Vidura Nanayakkara <vidu...@wso2.com> > wrote: > > &

Re: [Architecture] [UUF] Extensible Authorization for UUF

2017-05-12 Thread Vidura Nanayakkara
n bold below: @Component(name = "some.component.exposing.Authorizer", *service = Authorizer.**class**,* immediate = true ) [1] https://github.com/wso2/carbon-uuf/blob/master/components/uuf-core/src/main/java/org/wso2/carbon/uuf/internal/deployment/OsgiPluginProvider.java

Re: [Architecture] [UUF] Extensible Authorization for UUF

2017-05-12 Thread Vidura Nanayakkara
e ) public class CaasAuthorizer implements Authorizer { @Override public boolean hasPermission(User user, Permission permission) { *// Some logic here.* } } Best Regards, Vidura Nanayakkara On Fri, May 12, 2017 at 5:24 PM, Ruwan Abeykoon <ruw...@wso2.com>

Re: [Architecture] [UUF] Extensible Authorization for UUF

2017-05-12 Thread Vidura Nanayakkara
Senior Software Engineer > LinkedIn: http://lk.linkedin.com/in/rasika90 > > <http://wso2.com/signature> > > WSO2 Inc. www.wso2.com > lean.enterprise.middleware > > _______ > Archit

Re: [Architecture] [UUF] Extensible Session Management for UUF

2017-05-02 Thread Vidura Nanayakkara
for providing session managers for UUF apps. - SessionManager getSessionManager(String appName, Configuration configuration) throws SessionManagerException; On Tue, May 2, 2017 at 5:57 PM, Vidura Nanayakkara <vidu...@wso2.com> wrote: > Hi All, > > According to [1], the f

Re: [Architecture] [UUF] Extensible Session Management for UUF

2017-05-02 Thread Vidura Nanayakkara
0f8 >>>> 2419222617b7f14b6d08d45984ac >>>> >>>> SessionHandler: >>>> https://github.com/wso2/carbon-uuf/pull/241/files#diff-39f1b >>>> 4c291c422e721e8c56d191c75e3​ >>>> >>>> Thanks >>>> >>>>

[Architecture] [UUF] Extensible Session Management for UUF

2017-04-28 Thread Vidura Nanayakkara
T?* Best Regards, *Vidura Nanayakkara* Software Engineer Email : vidu...@wso2.com Mobile : +94 (0) 717 919277 <+94%2071%20791%209277> Web : http://wso2.com Blog : https://medium.com/@viduran <http://wso2.com/> LinkedIn : https://lk.linkedin.com/in/vidura-nanaya

Re: [Architecture] [Archtecture] How to initialize securevault service inside Configuration Provider in non-OSGi mode.

2017-03-31 Thread Vidura Nanayakkara
are your thoughts / suggestions. > > Thanks > -- > > *Danesh Kuruppu* > Senior Software Engineer | WSO2 > > Email: dan...@wso2.com > Mobile: +94 (77) 1690552 <+94%2077%20169%200552> > Web: WSO2 Inc <https://wso2.com/signature> > > > __

Re: [Architecture] [C5] Carbon Secure Vault YAML Configuration

2017-03-21 Thread Vidura Nanayakkara
solute path, we can >> locate the file straight away from the specified location. >> >> >> On Fri, Mar 17, 2017 at 10:28 AM, Vidura Nanayakkara <vidu...@wso2.com> >> wrote: >> >>> Hi Niranjan, >>> >>> Ideally, the OSGi / non-OSGi che

Re: [Architecture] [C5] Carbon Secure Vault YAML Configuration

2017-03-16 Thread Vidura Nanayakkara
are specified as a relative path, we can locate the files using the relevant configuration file location (OSGi / non-OSGi) and if we specify the absolute path, we can locate the file straight away from the specified location. On Fri, Mar 17, 2017 at 10:28 AM, Vidura Nanayakkara <vidu...@wso2.com>

Re: [Architecture] [C5] Carbon Secure Vault YAML Configuration

2017-03-16 Thread Vidura Nanayakkara
>>> if the bundleContext is set. If it is not set, then it is in non-OSGi mode. >>> This is the way we have done for msf4j. Any reason for this new approach? >>> >>> Regards, >>> Nira >>> >>> On Fri, Mar 17, 20

[Architecture] [C5] Carbon Secure Vault YAML Configuration

2017-03-16 Thread Vidura Nanayakkara
d Carbon Sec-Vault to 2 Separate Repositories (Removing from Kernel) <http://wso2-oxygen-tank.10903.n7.nabble.com/C5-Moving-Carbon-Configuration-and-Carbon-Sec-Vault-to-2-Separate-Repositories-Removing-from-Kernel-td146953.html> Best Regards, *Vidura Nanayakkara* Software Engineer Email

Re: [Architecture] [C5] Moving Carbon Configuration and Carbon Sec-Vault to 2 Separate Repositories (Removing from Kernel)

2017-03-10 Thread Vidura Nanayakkara
gt;> >>>>> -- >>>>> *Imesh Gunaratne* >>>>> Software Architect >>>>> WSO2 Inc: http://wso2.com >>>>> T: +94 11 214 5345 M: +94 77 374 2057 <+94%2077%20374%202057> >>>>> W: https://medium.com/@imesh T

Re: [Architecture] [C5] Moving Carbon Configuration and Carbon Sec-Vault to 2 Separate Repositories (Removing from Kernel)

2017-03-10 Thread Vidura Nanayakkara
ean. enterprise. middleware >>> >>> >> Regards, >> Nira >> >> -- >> >> >> *Niranjan Karunanandham* >> Associate Technical Lead - WSO2 Inc. >> WSO2 Inc.: http://www.wso2.com >> >> > > > -- > *Imesh Gunaratne*

Re: [Architecture] [C5] Moving Carbon Configuration and Carbon Sec-Vault to 2 Separate Repositories (Removing from Kernel)

2017-03-02 Thread Vidura Nanayakkara
Hi Niranjan, Thanks for pointing this out. +1 for having importFeatureDef to Carbon-secvault in the carbon config feature. On Fri, Mar 3, 2017 at 10:16 AM, Niranjan Karunanandham <niran...@wso2.com> wrote: > Hi Vidura, > > On Thu, Mar 2, 2017 at 6:35 PM, Vidura Nanayakkara &l

Re: [Architecture] [C5] Moving Carbon Configuration and Carbon Sec-Vault to 2 Separate Repositories (Removing from Kernel)

2017-03-02 Thread Vidura Nanayakkara
? On Thu, Mar 2, 2017 at 6:43 PM, Vidura Nanayakkara <vidu...@wso2.com> wrote: > Hi all, > > Considering the Carbon Secure Vault's OSGi and Non-OSGi implementations we > are planning to: > >- Get the secure vault YAML configuration from the runtime in the OSGi >m

Re: [Architecture] [C5] Moving Carbon Configuration and Carbon Sec-Vault to 2 Separate Repositories (Removing from Kernel)

2017-03-02 Thread Vidura Nanayakkara
nfiguration.maven.plugin > 1.0.0-SNAPSHOT > > > [1] Carbon Kernel Issue > <https://github.com/wso2/carbon-kernel/issues/1312> > [2] Carbon Sec-Vault Issue > <https://github.com/wso2/carbon-secvault/issues/2> > [3] Carbon Config Issue <https://github.com/wso

[Architecture] [C5] Moving Carbon Configuration and Carbon Sec-Vault to 2 Separate Repositories (Removing from Kernel)

2017-03-02 Thread Vidura Nanayakkara
/github.com/wso2/carbon-secvault> [7] Carbon Kernel Repo <https://github.com/wso2/carbon-kernel> Best Regards, *Vidura Nanayakkara* Software Engineer Email : vidu...@wso2.com Mobile : +94 (0) 717 919277 Web : http://wso2.com Blog : https://medium.com/@viduran <http://wso2.com/> Twitte

Re: [Architecture] Retrieving Rating value of API in the GET_API resource API

2017-03-01 Thread Vidura Nanayakkara
1 to be >> used independently ? >> >> Appreciate your feedback on this. >> >> >> >> Thanks >> Chamalee >> >> >> >> >> >> >> -- >> Thanks & Regards, >> >> *Chamalee De Silva* >> S

Re: [Architecture] [C5, MSF4J] Carbon C5 - Server Configuration Model

2017-02-21 Thread Vidura Nanayakkara
o not have the `@Configuration` annotation? Should a warning or an exception be thrown when preparing the configuration file? On Wed, Feb 22, 2017 at 11:16 AM, Vidura Nanayakkara <vidu...@wso2.com> wrote: > ​​ > Hi all, > > There are few points that are needed to be clarif

Re: [Architecture] [C5, MSF4J] Carbon C5 - Server Configuration Model

2017-02-21 Thread Vidura Nanayakkara
type when preparing the configuration. Thanks, Vidura Nanayakkara On Tue, Feb 21, 2017 at 9:08 PM, Imesh Gunaratne <im...@wso2.com> wrote: > > > On Tue, Feb 21, 2017 at 6:33 PM, Vidura Nanayakkara <vidu...@wso2.com> > wrote: > >> >> In order to create the above co

Re: [Architecture] [C5, MSF4J] Carbon C5 - Server Configuration Model

2017-02-21 Thread Vidura Nanayakkara
[Adding Danesh]​ On Tue, Feb 21, 2017 at 6:33 PM, Vidura Nanayakkara <vidu...@wso2.com> wrote: > Hi all, > > *Note:* This email is in reference to the "[Architecture] Carbon C5 - Se > rver Configuration Model" previously sent to the Architecture mail thread. > >

[Architecture] [C5, MSF4J] Carbon C5 - Server Configuration Model

2017-02-21 Thread Vidura Nanayakkara
n creating the configuration file to solve the above problems. - Iterate through inherited classes when creating the configuration file. This way we can avoid duplicating the same code in multiple places and help solve the problem stated in (1) WDYT? [1] carbon-kernel issue 1285 <

Re: [Architecture] [MSF4J] MSF4J Filter Configuration

2017-01-17 Thread Vidura Nanayakkara
t 12:35 PM, Bhathiya Jayasekara <bhath...@wso2.com> > wrote: > >> Hi Vidura, >> >> Can we use ContainerRequestContext and ContainerResponseContext to pass >> data among filters? And can we use them to access such data at service >> level as well? >> >&g

[Architecture] [MSF4J] MSF4J Filter Configuration

2017-01-05 Thread Vidura Nanayakkara
e same way interceptors are registered now [1] https://dennis-xlc.gitbooks.io/restful-java-with-jax-rs-2-0-2rd-edition/content/en/part1/chapter12/ordering_filters_and_interceptors.html Best Regards, *Vidura Nanayakkara* Software Engineer Email : vidu...@wso2.com Mobile : +94 (0) 717 919277