title: Why the name "realm" and "principal" in Java EE security?
body: <p>Why are the name "realm" chosen for something that seems like (at least for me) to be a group of security constraints and the users allowed to access. I may be wrong. If I translate it to my mother tongue I get that it is a "kingdom, territory". I don't understand it. </p>
  
  <blockquote>
    <p>Principal: An entity that can be authenticated by an authentication
    protocol in a security service that is deployed in an enterprise. A
    principal is identified by using a principal name and authenticated by
    using authentication data.</p>
  </blockquote>
  
  <p>And principal, which make no sense what so ever in my mother tounge is even harder. Could someone explain?</p>
  
  <p><a href="http://docs.oracle.com/javaee/6/tutorial/doc/bnbxj.html" rel="noreferrer">http://docs.oracle.com/javaee/6/tutorial/doc/bnbxj.html</a></p>