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,

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 wrote: > Hi Ruwan, > > Thanks for the comments. > > In every server startup, it checks the files list in the > [product_home]

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

2017-05-17 Thread Vidura Nanayakkara
on-identity-mgt [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 wrote: > > > On Wed, May 17, 2017 at 11:57 AM, Vidura Nanayakkara > wrote: > > >> Since we are not awar

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 wrote: > Hi All, > >> >

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

2017-05-12 Thread Vidura Nanayakkara
___ >> Architecture mailing list >> Architecture@wso2.org >> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >> >> > > > -- > With Regards, > > *Rasika Perera* > Senior Software Engineer > LinkedIn: ht

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 wrote: > Hi All, > > According to [1], the following points will b

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

2017-05-02 Thread Vidura Nanayakkara
ndler: >>>> https://github.com/wso2/carbon-uuf/pull/241/files#diff-39f1b >>>> 4c291c422e721e8c56d191c75e3​ >>>> >>>> Thanks >>>> >>>>> >>>>> Cheers, >>>>> Dilan. >>>>> >>>&

[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
ur 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
kshman Udayakantha wrote: > Adding these files to parameter section makes no difference because > parameter section includes implementation specific data. So I think it is > ok to keep them in parameter section as well. It is up to the > implementation. > > On Fri, Mar 17, 2017 at 1

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

2017-03-16 Thread Vidura Nanayakkara
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 wrote: > Hi Niran

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

2017-03-16 Thread Vidura Nanayakkara
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, 2017 at 9:37 AM, Lakshman Udayakantha < >>

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

2017-03-16 Thread Vidura Nanayakkara
[Adding Imesh and Jayanga] On Fri, Mar 17, 2017 at 9:15 AM, Vidura Nanayakkara wrote: > Hi All, > > An example for a secure vault YAML configuration file is as shown below > according to the current implementation. > > secretRepository: > type: org.wso2.carbon.kernel.s

[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
>>> 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 TW: @imesh >>>>> lean. enterprise. middleware >>>>> >

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

2017-03-10 Thread Vidura Nanayakkara
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 TW: @imesh >>> lean. enterprise. middleware >>> >>> >> Regards

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 wrote: > Hi Vidura, > > On Thu, Mar 2, 2017 at 6:35 PM, Vidura Nanayakkara > wrote: > >>

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 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 >mode: This is be

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/wso2

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

2017-03-02 Thread Vidura Nanayakkara
tps://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/> T

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

2017-03-01 Thread Vidura Nanayakkara
dently ? >> >> Appreciate your feedback on this. >> >> >> >> Thanks >> Chamalee >> >> >> >> >> >> >> -- >> Thanks & Regards, >> >> *Chamalee De Silva* >> Software Engineer >> *WS**O2*

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 wrote: > ​​ > Hi all, > > There are few points that are needed to be clarified in this email. &

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

2017-02-21 Thread Vidura Nanayakkara
e when preparing the configuration. Thanks, Vidura Nanayakkara On Tue, Feb 21, 2017 at 9:08 PM, Imesh Gunaratne wrote: > > > On Tue, Feb 21, 2017 at 6:33 PM, Vidura Nanayakkara > wrote: > >> >> In order to create the above configuration, I may write any of the >> b

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 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. > > I am currently workin

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

2017-02-21 Thread Vidura Nanayakkara
e type when 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 issu

Re: [Architecture] [MSF4J] MSF4J Filter Configuration

2017-01-17 Thread Vidura Nanayakkara
:35 PM, Bhathiya Jayasekara > 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? >> >> Thanks, >>

[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