aspose file tools*
The moose likes Security and the fly likes Principal and Credential Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Principal and Credential" Watch "Principal and Credential" New topic
Author

Principal and Credential

S. Palanigounder
Ranch Hand

Joined: Apr 03, 2003
Posts: 145
What is Principal? What is Credential?
What is the difference between them?
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Principal and Credential