Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Code Access Security (cas) Tutorial
→
Code Access Security (cas) Interview Questions in Code Access Security (cas) Tutorial
→
Define Principal Object?
1.
Define Principal Object?
Answer»
It represents the security context under which code is running.
The principal object contains information about a user’s identity and
ROLE
.
It represents
AUTHENTICATED
users.
You have a Principal Permission object in .
NET
FRAMEWORK
that specifies user and its role.
It has Demand() method that checks the current user or principal against the name and role specified in the Principal Permission.
It encapsulates identity and the role of a user.
It can be created with the help of identity and role of a user.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
But Why This Change, What Was The Problem With Cas?
What Are The Components Of Code Access Security?
What Are The Elements Of Code Access Security?
Define Principal Object?
What Are The Types Of Code Security?
What Are The Differences Between Declarative And Imperative Security.?
Define Declarative And Imperative Security.
Explain Role-based And Code Based Security?
What Is Code Group?
What Is Evidence In Cas?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies