Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Principal and Credential

 
S. Palanigounder
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is Principal? What is Credential?
What is the difference between them?
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
according to me,
principal is an object that presents the "identity" (name of the login user for e.g.)
credentials are the "credibility" parameters associated with the principal (password for e.g.)
in LDAP for e.g. we can have a user that can be "identified" by DN="uid=maulin,ou=developers,o=mycompany"
that is a principal for user "maulin" and if my password is "password" then my credentials is "password"
hope this helps.
regards
maulin
 
Try 100 things. 2 will work out, but you will never know in advance which 2. This tiny ad might be one:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!