Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Beginning Java
java.security.Principal
Amirtharaj Chinnaraj
Ranch Hand
Posts: 242
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi guys
i want to know the use of this
java.security.Principal interface
looking for your replies
Christophe Verré
Sheriff
Posts: 14691
16
I like...
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
Posts: 242
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
please give me some more details
regards
amir
Jesper de Jong
Java Cowboy
Posts: 16084
88
I like...
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Read the JDK documentation:
Security
Also, try searching for "java.security.Principal" with Google and you'll probably find more info.
Jesper's Blog
-
Pluralsight Author Page
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Is this correct ??
HttpServletRequest Class methods
How to get username after login with FORM based authentication
getCallerPrincipal() in MDB
Windows UID
More...