Which of the following listeners causes an object of the implementing class to be notified when it is added to or removed from a session?
Consider the given lines of codE.
package ucert
class memberaccess
{
public int mem = 10;
}
Which of the following can directly access the variable mem?
Which of the following authentication flag values will force authentication to continue to proceed down the LoginModule list, irrespective of whether the LoginModule succeeds or fails?
Each correct answer represents a complete solution. Choose all that apply.
Roger works as a Software Developer for Tech Mart Inc. He creates an application using Enterprise JavaBeans. In the bean class, he writes a code snippet as follows.
Boolean b = ctx.isCallerInRole("Administrator");
The Application Assembler named Bob declares the following entries within the
1.
2. The HR-Manager will have permission to access all the methods.
3.
4.
5.
Bob wants to ensure that the HR-Manager declared in the deployment descriptor has all the privileges of an administrator. Which of the following elements should Bob declare in line 4 while deploying the bean?
Mark works as a Programmer for InfoTech Inc. He develops an application named JavaServices. He wants to declare a security constraint that will restrict everything in the com/files directory so that security role of Admin can invoke any http methods on the resources. Which of the following element declarations will be used to accomplish the task?
Which of the following is a Permission class whose permissions have no actions, and allows suppressing the standard Java programming language access checks?
Which of the following are the main basic difference between the POST and PUT request?
Each correct answer represents a complete solution. Choose all that apply.
Which of the following attributes of the