Hello. So after we successfully expose the application module with custom missiles and built in operation as a soap web surface and we are able to call it in ADF application. In this video, I will show you how you can add security to your web surface and the next video I will show you how you can call the secure web surface in your ADF application. So for now, I need to add security to my web surface. So you will select your inbuilt surface inbuilt Java class. This is your surface surface embed.
And you select here, your surface Ember and you go to the property here. Here you should find a policy tab to add the security but in previous versions of jdeveloper you will find it straight away but here in since version two will be 213 A didn't Come here. I don't know is this something in Majid bulevar or not but in case if you select you surface Ember here, and go to Bertie and union point here in your policy tab, you should just add something in a Moodle project. So I in the Moodle project here, double click or go to property for some little project and you can go to Tools Features, you'll find here features is this feature, you should see as to boot surface but as you can see, there is no poop surface. So all what you can do breast plus, and you can just shuttle soup surface this just shortly here and base Okay, so this project now we'll use as to whoops surface as a feature or library we'll add it to this project.
Breeze okay. So let's now try to select My ambu syndic this and go to Bertie. So now you will find the policy tab is appear here. So again you select the surface surface Ember here and separability you will find bonuses here tab here you can secure with all W is m policy okay and you can just take this okay let us open this image loss a to be sure the security is added you will find here a policy set and this is a reference or your policy reference but there is no value because you didn't select what is actually the policy, but you should find this line is added. So, after you take this, you should select what actually is a bullish view So, I will go to the this multiple policies and I will select my policy which I need to use. So, we will use Oracle W is HTTP no user name token surface was this Oracle they will resist this username token surface policy This is the policy which we will use to secure the surface and the police okay.
You will find here the policy name is written here just to receive and let us now try to run and see if this web surface has boys a bullish exists or not. Okay so, to know actually from the wisdom you will find here is there is no policy you will find here is a policy No policy. So, you will know this whip surface has no security used as we invoke it from ATF last video without adding in security. So, I will show you this wisdom after we apply the security how it looks like. So, now we applied our security it is now to run and test is our call to this web surface Okay, so, it is run now, let us now try to see the wizards is the old web surface before we add the security. So, let us now add here.
So, you will find here some policy here add a user name token policy as you can see, so here from the wisdom you will know this web surface has no policy this surface has policy has security username token security of lightweight. So now we successfully apply the security to our roof surface. If we try to call this web surface now from for example, let's start from soap and next video we can call it from PDF. So this secure soup web surface and I will add my wisdom Okay, so what we'll find here custom department name, if I try to add a department name 10 and run it you will find here invalid security. So So you have two other security. Let us test the security here if it works or not.
So I will add here that will do web surface security. It will add my security and here I will add a user name username will be with logic logic username and password unless you create a user in the WebLogic security but now I will use the default username and password which are used to look into the WebLogic so it will project and suppose for okay and it will be possible text okay. So let us now open request again and in the authentication here I will add new authentication basic one and I would select my web service security. So, it has no inboxes and see you will find here there is our administration so it is try to change hundred So, now we successfully secure the soup surface and we decide it is Toby Nicosia video I will show you how you can call them This secure roof surface from ADF application so see you next activity