| Author |
java.security.Principal
|
Amirtharaj Chinnaraj
Ranch Hand
Joined: Sep 28, 2006
Posts: 215
|
|
hi guys i want to know the use of this java.security.Principal interface looking for your replies
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14670
|
|
|
It's mainly used in web/enterprise projects, to identify a user. For example, if you use a proper login system for a web application, the web container will make an instance of a Principal to identify the logged in user.
|
[My Blog]
All roads lead to JavaRanch
|
 |
Amirtharaj Chinnaraj
Ranch Hand
Joined: Sep 28, 2006
Posts: 215
|
|
please give me some more details regards amir
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12907
|
|
Read the JDK documentation: Security Also, try searching for "java.security.Principal" with Google and you'll probably find more info.
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
 |
|
|
subject: java.security.Principal
|
|
|