Win a copy of The Java Performance Companion this week in the Performance 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic