Security concepts
Security Realms in WebLogic Server :
Security Providers :
Identity Assertion :
Authorization :
Role Mapping :
Adjudication :
Credential Mapping : Keystore :
Certificate Lookup and Validation (CLV) :
Certificate Registry :
Auditing :
Identity Assertion :
Authorization :
Role Mapping :
Adjudication :
Credential Mapping : Keystore :
Certificate Lookup and Validation (CLV) :
Certificate Registry :
Auditing :
Hands on security
Creating users in Weblogic.
Creating users in Weblogic.
When you create domain you create one administrative username and password .But you may need to have more user for your Environment having different roles ie Deployer,Tester etc so for that purpose we can create a new user by Navigating to Security Realms==>my realms ==>users and group taband create "New"
Provide the name of the user and the Password for the user and Press OK.
The user will be created
But now if you try to login with the newly created user you will not be allowed to login as we have not provided the proper group or roles which this user have.
and try to login you will be able to login into the console.
So now click on the New user"Shadab" created and navigate to Group tab and add him in any of the given group and save it Now you can log out of console.
and try to login you will be able to login into the console. with the newly created user Shadab1
In this way we can create a Number of user and providing them different roles
Migrating user from one environment to other
There may be scenario where you have to migrate all the users from one environment to another environment .
Weblogic has provided a very effective method for the user and roles to be transferred from one domain to another.
Do these activities with the user who have admin rights
Navigate to the Environment ie domain from where you want to migrate the user
Click on Security Realms==>my realms ==>Migration tab ===>Export
Weblogic has provided a very effective method for the user and roles to be transferred from one domain to another.
Do these activities with the user who have admin rights
Navigate to the Environment ie domain from where you want to migrate the user
Click on Security Realms==>my realms ==>Migration tab ===>Export
in one of our domain we have 5 user and now we want to export them to other domain
Navigate to the Environment ie domain from where you want to migrate the user
Click on Security Realms==>my realms ==>Migration tab ===>Export
Create a New folder and give the location of the folder and click on the "save"
These files will be created inside the folder now copy the files to the environment i.e Domain where you want to import these user .
Now we are in a other domain where we want to import the user.
Navigate to the Environment ie domain from where you want to migrate the user
Click on Security Realms==>my realms ==>Migration tab ===>Import
You can use the above user.zip file to import in your domain.
All the users have password "weblogic1"
The user are imported in the new Environment(ie Domain)
In the users and group tab you can view all the user and use them in your New domain.
user lockout
In weblogic we can configure how many time a user can give a wrong password and try to open.After all the attempts are done Weblogic locks that user for a particular period of time .Only admin user can then unlock the user.
Click on Security Realms==>my realms ==>Configuration ==>user lock out
Here we can change the value as we would like
If a user try with a wrong password for 5 times his account will be locked.
You will see in the admin logs that the user shadab1 has been locked for 30 mins
Now for unlocking the user we have to log in to the console with admin credentials.
Now for unlocking the user we have to log in to the console with admin credentials.
You have to navigate click on the Domain name ==>security==>unlock user and provide the user which have be locked
You will get a message that the user has been unlocked.
to check how many invalid ATTEMPTS are made and other information
Click on Admin Server==>Monitoring==>Security
No comments:
Post a Comment