Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,195,333 members, 7,957,882 topics. Date: Tuesday, 24 September 2024 at 11:05 PM |
Nairaland Forum / Sweetguy10's Profile / Sweetguy10's Posts
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 58 pages)
Programming / How To Register For OCP (java) Certification Exam .. by sweetguy10(m): 11:53am On Jun 14 |
Good day guys , What's the price equivalent in Naira and where to write it . Will appreciate all inputs . Thanks |
Agriculture / Re: How Do I Stop This Continuous Bee Attack On The Farm? by sweetguy10(m): 11:36am On Jul 19, 2023 |
Fire , smoke ....Locate the queen bee throne and destroy their colony . Ensure you have level 4 Hazmat suits on , cos it's like fighting indoctrinated , subsidy-hungry/angry boko haram foot soldiers 2 Likes 1 Share |
Programming / Re: Java Programming Language Is A Money Ritual Language by sweetguy10(m): 8:52pm On Jul 12, 2023 |
Yeah but you gotta be good at it . I developed a POS and ATM Terminal debit/credit card processing system that routes transaction to multiple card payment processors based on business logic , charges all kind of cards verve,visa and MasterCard both online pin verification and offline . I decided to delve in deeper and understand how apps are created on card chips with lead me to Java Card Architecture for writing card applets to chips /smart cards . You will be amazed at how powerful Java is , it's WORA capabilities is very good for business .Over 10 billion devices - SIM cards , Financial cards (credit and debit), Access door cards, Loyalty programme cards and yes the NFC architecture for contactless cards payment are all powered by Java. For the Java haters, you are just pained because you find it hard to understand the dynamics of OOP. JAVA will keep being king of enterprise applications and yes enterprise is the field you play in when you want the money in tech if you don't intend to be a founder RT al As for me , plan is to get snapped up by a chip embossing company and eat the mulllaaaassss!! Java reigns supreme . 3 Likes 2 Shares |
Nairaland / General / Re: My Neighbour Is Loud All The Time by sweetguy10(m): 4:54pm On Jun 13, 2023 |
woginid967: 1 Like 1 Share |
Crime / Re: My Story As A Cult Member........initiation Phase Included... by sweetguy10(m): 2:28pm On Nov 27, 2022 |
Perkins1: A younger brother spent just three months in Ikoyi prison for an auto accident involving life issue. We know what we went through, he knows what HE went through, the trauma is still with us ... i feel your story deep in my veins . Sadly your dad was the penance....RIP to him ...may you find peace and it abide with you forever. 12 Likes |
Career / Re: Tech Is The New "Oil" Money by sweetguy10(m): 7:55pm On Sep 22, 2022 |
DeOTR: Crossover screening is too tedious. No .NET is not core java. It is a framework |
Career / Re: Tech Is The New "Oil" Money by sweetguy10(m): 4:04pm On Sep 22, 2022 |
batistutajulio: Of course I am talking about software development jobs . Just be quite good at what you know and know it well . Opportunities abound . |
Career / Re: Tech Is The New "Oil" Money by sweetguy10(m): 3:29pm On Sep 22, 2022 |
batistutajulio: This is not true .......in 2018 right after my NYSC a job was already waiting for me . I quit from another place in July 2022 and a week after I got employed . In fact I had three Jobs waiting but went for the one I thought will be better . 1 Like |
Career / Re: Tech Is The New "Oil" Money by sweetguy10(m): 3:27pm On Sep 22, 2022 |
I am very good with Jave , Core and Enterprise . I am very good and adept at software development .... I have 3 years of professional extensive software development , management and I have successfully lead two projects as the backend developer . How do I get online/remote gigs ? I need someone to please point them to me . Thanks 1 Like |
Programming / How Do I Go About This System Design ? by sweetguy10(m): 6:53pm On Aug 07, 2022 |
Good day everyone , I have this Java/Spring boot project where I need to return objects values in XML . The thing is most of the variables to be returned have their fixed final variables values already , how do I go about not persisting them in the database but can call them anytime that I need to add them up to a payload for a POST operation? This is a sample of how the response payloads should be like . <person> <contact> <number>09087431264</number> <age>30</age> </contact> </person> As you can see the number and age fields in the contact class are fixed final variables inside the person object which is an entity. I used @Embeddable and @Embedded to add the Contact class to the Person entity but it added the column : Number and Age to the Person entity and making a REST call to the Person entity will not return the person entity with the XML schema as posted above . Inputs and help will be greatly appreciated . @richebony your input as well will be greatly appreciated sir thanks much. |
Travel / Re: Help With Canada Permanent Residency Application Guidelines ! by sweetguy10(m): 8:31pm On Jun 29, 2022 |
ednut1: Man, calm it. You can make your points succintly without being insultive, what kind of mother raised you ? or is it the Nigerian-always-wanting-to-be-insultive factor ? I checked google reviews canadavisaexpert does not a bad reviews on there. Anyways ur point is noted, no thanks though. |
Travel / Re: Help With Canada Permanent Residency Application Guidelines ! by sweetguy10(m): 11:33am On Jun 29, 2022 |
ednut1: The site is canadianvisaexpert.com is this really fake ? Can you please point me to the actual site ? thanks in anticipation |
Travel / Help With Canada Permanent Residency Application Guidelines ! by sweetguy10(m): 10:20pm On Jun 28, 2022 |
I am currently registering for Canada permanent residency program . I am stuck somewhere around What is your family's annual income in US dollars? and What is your estimated net worth in US dollars? * The options Includes : Less than 300,000 between 300,00 - 1,599,999 and the third option is 1,600,000 . What option should I select so as to get better points ? Thanks |
Education / Re: The Average Nigerian Does Not Know about Nairaland. by sweetguy10(m): 7:56pm On Apr 13, 2022 |
That's why users are quite anonymous. You don't know ... |
Programming / Re: SQL Query That Displays A List Assigned Only To Only The Logged In User Java by sweetguy10(m): 1:59pm On Jan 20, 2022 |
richebony: still getting the same 404 / connection to server lost . This is my application.properties file and pom.xml. I added tomcat dependency to the dependency list for the serverport I used 22 before but because of same issue I changed to 8080 Then for React in the AxiosConfig base url is http://ibank.bethsaidainvestmentpartners.com:8080. When I test http://ibank.bethsaidainvestmentpartners.com:8080. on browser it navigates to ApacheTomcat Home Dashboard . What could I be doing wrong I'm really frustrated.
|
Programming / Re: SQL Query That Displays A List Assigned Only To Only The Logged In User Java by sweetguy10(m): 12:15pm On Jan 20, 2022 |
richebony: I really appreciate you I've done everything but For the bolded , is it the server root username and pass or the domain cpanel username and pass ? |
Programming / Re: SQL Query That Displays A List Assigned Only To Only The Logged In User Java by sweetguy10(m): 11:18am On Jan 20, 2022 |
richebony: The React(Frontend) is being deployed in public_html directory on same server after it has been built to production and it's running ( Login Page) No its being deployed on a VPS server Centos 7 . I packaged as a WAR file , Installed Apache Tomcat to the WHM/Cpanel, then I Uploaded the renamed build to ROOT.war then I extracted there. (inside Catalina/domain/webapps). I get error 404 when trying to login. Should I package the backend as a JAR because it does not have html, jsp or leave it as a WAR package then exclude the spring-boot-maven-plugin from <build></build> from pom.xnl file ? |
Programming / Re: SQL Query That Displays A List Assigned Only To Only The Logged In User Java by sweetguy10(m): 10:07am On Jan 20, 2022 |
richebony: Good morning sir , I need your input on deploying the backend app. |
Romance / Re: Which Alcohol bleeped You Up And Made You Say “i’m Never Taking Alcohol Again?” by sweetguy10(m): 6:47am On Dec 21, 2021 |
Action bitter the bottle, almost finished one . Then I drove , blacked out on the wheels , car swerved and jumped the culvert to the other lane of the road while my leg was glued to accelerator making me do a 120 on a road that normal should've been a 60km.....Hmmm... thank God for life ... 1 Like |
Programming / Re: SQL Query That Displays A List Assigned Only To Only The Logged In User Java by sweetguy10(m): 10:18pm On Nov 23, 2021 |
richebony: So I refactored and passed the Branch object as the query parameter , then changed the logged in User authentication by Inserting spring security Principal object to get the authenticated user , got the user branchID and got the customers registered under the director's branch, thanks once again sir . Do you belong to any local java community ? |
Programming / Re: SQL Query That Displays A List Assigned Only To Only The Logged In User Java by sweetguy10(m): 11:59am On Nov 23, 2021 |
richebony: Good day sir , please I need your help one more time with a custom query implementation. Still on the user role login, When the UserRole Managing Director logs In, I want the userrole Managing Director to only see customers assigned to UserRole Marketers with the same Branch ID as the Managing Director. I have a custom Query in the customer repository that returns a null result. I have the user authentication issue resolved so I am pretty sure it's my query. Kindly help check if the query is correct. Thanks sir |
Programming / Re: SQL Query That Displays A List Assigned Only To Only The Logged In User Java by sweetguy10(m): 1:13pm On Nov 18, 2021 |
richebony: Got it resolved thanks much !!! the problem before was that the frontend guy did not add the token bearer to requests going to marketers/customers endpoint . I tested on postman with the generated token added to the authorization header just as you suggested then refactored the entity classes User and Branch by removing the toString methods therein because it was causing an Infinite recursion and VOILA ! I got customers attached to the authenticated User. I really appreciate your patience with me you are such a rare one , thanks once again . 1 Like |
Programming / Re: SQL Query That Displays A List Assigned Only To Only The Logged In User Java by sweetguy10(m): 4:56pm On Nov 17, 2021 |
richebony: I have a JWT Filter here is the attached image and the filter has been added to my HttpSecurity config , couldnt snipe it earlier because of the length of the code . Here they are
|
Programming / Re: SQL Query That Displays A List Assigned Only To Only The Logged In User Java by sweetguy10(m): 11:24am On Nov 17, 2021 |
richebony: I removed /** from antmatchers parameter and authorized all requests going to marketers/customers endpoint then signed in on postman , it generated a token and I put it in the header then made request call to marketers/customers , returned NullPointerException: null . I noticed that when I tried to use userName it returned a bad credentials response till I changed to username but what I have in my User entity is userName. What could I be doing wrong ? Please forgive my back and forth this is my first huge project with Spring Security.
|
Programming / Re: SQL Query That Displays A List Assigned Only To Only The Logged In User Java by sweetguy10(m): 1:57pm On Nov 16, 2021 |
richebony: I use a MyUserDetails class that Implements UserDetails and build with the User class , could the problem be from there ? Here are what I have thanks much I appreciate you
|
Programming / Re: SQL Query That Displays A List Assigned Only To Only The Logged In User Java by sweetguy10(m): 10:28am On Nov 16, 2021 |
richebony: So I ran a test to get list of Customers assigned to User type Marketer but it still return null values even though the findByUserName in the user repo method is working. I Autowired the UserRepository to the UserService class and did the concrete implementation in the service class , then Imported and Autowired the UserService class to the customer controller to be able to use the findByUsername method and pass the authentication.getName method as a parameter. Where am I getting it wrong ? The last image is to confirm that the findByUserName method in the user repository is functional |
Programming / Re: SQL Query That Displays A List Assigned Only To Only The Logged In User Java by sweetguy10(m): 10:57pm On Nov 15, 2021 |
richebony: I think that happened because of spring security UserDetails class that maps to User class and get the Username value directly, might be wrong though. I appreciate your support so far. |
Programming / Re: SQL Query That Displays A List Assigned Only To Only The Logged In User Java by sweetguy10(m): 10:46pm On Nov 15, 2021 |
bet9ja: Fixed it before seeing this , you are absolutely right. appreciate your contribution thanks much. |
Programming / Re: SQL Query That Displays A List Assigned Only To Only The Logged In User Java by sweetguy10(m): 10:42pm On Nov 15, 2021 |
I refactored the controller method and added @pathvariable to the method parameter beside String username ...got it working
|
Programming / Re: SQL Query That Displays A List Assigned Only To Only The Logged In User Java by sweetguy10(m): 12:27pm On Nov 15, 2021 |
richebony: Turns out that the authentication.getName method returns null values, then I went further by implementing the findByUsername method in the user Repository but it returns a null object values. I deleted all existing data ,refactored and changed username to userName and changed the Repository method to fndByUserName but it still return null values. Presently stuck here and still debugging. Attached are the repository and controller images , there is a UserAccountService service class in between that implemented the repo method and provide to the controller. Thanks
|
Programming / Re: SQL Query That Displays A List Assigned Only To Only The Logged In User Java by sweetguy10(m): 12:18pm On Nov 15, 2021 |
Singlecliq: Thanks duly appreciated |
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 58 pages)
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 94 |