i'm new both with encryption and j2me. It may be a stupid question but where do i get a provider from bouncy castle to use with j9 vm? Isn't one just like the ones for jdk4,5,6(like bcprov-jdk16-145.jar)?
I'm quite confused because as i've seen on bouncycastle's website, for j2me there is only that lightweight api but no provider api.
There is no provider because the J2ME, now called JME, does not not support the JCE. You'll have to use the lightweight API.
Related
Can anyone help me to suggest a good architecture or Project setup for .net Core Web API Project?
How to handle dependency injection?
How to handle routing?
How to handle authentication?
How to do CRUD operations with the MS SQL server?
What are the best practices that should follow?
Sample project in git most preferred.
This question is really too general to answer in a prescriptive way, but Microsoft recommends using the Razor Pages approach for new ASP.NET Core web apps. This tutorial gives you a Razor quick-start, and touches on many of the concepts you asked about: https://learn.microsoft.com/en-us/aspnet/core/tutorials/razor-pages/razor-pages-start?view=aspnetcore-3.1&tabs=visual-studio
.NET Core also has a standardized dependency injection model: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection?view=aspnetcore-3.1
As for authn/authz, there are some decisions for you to make about whether you trust other identity providers or manage users yourself, but this will give you a start. The related sections will get you the rest of the way toward almost any auth approach: https://learn.microsoft.com/en-us/aspnet/core/security/authentication/?view=aspnetcore-3.1
It's really strange question, but...
So, does any pure internal IdentityServer4 analogues in ASP.NET Core exist?
I have some Web Services via WebAPI. These services are strongly independent, but I want to restrict an access for part of it (I want to use JWTs).
I want to have one certification authority for all my apis, which could use ASP.NET Core Identity, of course, and grants of denys an access for specific api.
I don't want to use IdentityServer4 right now - maybe it's possible to solve this problem through an internal resourses of ASP.NET Core.
Thnxs.
Yes, ASP.NET Core provides out of the box tools for authentications and JWTs.
You will need to configure your Startup class and add the approperiate services/middlware.
Here's an article to get you started:
https://developer.okta.com/blog/2018/03/23/token-authentication-aspnetcore-complete-guide
If I'm not mistaken, IdentityServer actually wraps around these tools under the hood.
I have a Java project that needs to be rewritten in C# .Net Core. The Java app is currently deployed on cloud using SCS. The concept of stream looks smooth as we can easily visualize the flow of data there. It would be nice to have something similar available in .Net/Core. I tried Google, but couldn't get any useful info on this.
Steeltoe Stream Support:
https://github.com/SteeltoeOSS/steeltoe/issues/128
https://docs.steeltoe.io/articles/releases/steeltoe-3-1-minor-release-major-deal.html
This is an Epic, that will track all the work being done for our Streams feature.
Steeltoe Streams will be similar to the functionality that Spring Streams brings. Steeltoe Streams will be used for building highly scalable event-driven .NET microservices connected with shared messaging systems.
Steeltoe OSS: Cloud Native .NET Applications - Friend of Spring Boot and Spring Cloud.
Developed by WMware / Pivotal - https://hub.docker.com/u/steeltoeoss/
With SOAP WebSevices and WSDL it's very easy to generate a Java WebService client with wsimport.
Is there a similar way to do this for Java REST clients?
Thanks, Simon
Take a look at Alchemy Rest Client Generator. It can generate a jersey 2.0 java client for your JAX-RS REST services by integrating into your server builds.
The client will mimic the exact service API. However this project does not yet support WADL and does not handle marshalling and demarshalling of your transfer objects.
Disclaimer: I am the author of this project.
Do you have a WADL descriptor for your REST service?
If so, you can use wadl2java or maybe something built-in in your IDE (IDEA for example has a wizard for that).
I am trying to persuade my company to look at Alfresco rather than write something from scratch. Are there any .net houses out there who use Alfresco?
How have you found it? Where there any problems?
Alfresco is written in Java, would I have to bridge from .net to access it?
JD
I'm not aware of .NET shops that integrated Alfresco within their systems, but that's only my personal experience.
IMO, the best way to hook into Alfresco from a .NET application would be by leveraging CMIS. Apache Chemistry already provides an initial client implementation of a .NET CMIS client library.
They're in the process of issuing a new release as we speak.