Which of the following fields must be present in the login page when using the form-based authentication? Each correct answer represents a part of the solution. Choose two.
A. get_pw
B. user_pw
C. j_login
D. j_password
E. j_pw
F. j_username
Which of the following symbols is used to designate a named input parameter?
A. ?
B. ;
C. :
D. !
In which of the following locations the helper classes of a session bean class reside?
A. EJB JAD file
B. Deployment descriptor
C. META-INF directory
D. EJB JAR file
Which of the following is not a type of authentication?
A. DIGEST
B. CLIENT-CERT
C. FORM
D. BASIC
E. FORM-CERT
Which of the following exceptions will be thrown if the name parameter is null in the constructor of AuthPermission?
A. IllegalArgumentException
B. NullPointerException
C. ClassNotFoundException
D. IllegalStateException
Which of the following methods evaluates the global policy for the permissions granted to the ProtectionDomain and tests whether the permission is granted?
A. implies
B. getPolicy
C. isPolicy
D. getType
Which of the following deployment descriptor elements is used to declare the reference of a client's application to an external resource?
A.
B.
C.
D.
Which of the following elements indicates which users in specified roles are permitted access to a resource collection?
A. auth-constraint
B. user-data-constraint
C. web-resource-collection
D. login-config constraint
Which of the following annotations specifies the roles that are allowed to invoke a particular bean method?
A. @DenyAll
B. @RolesAllowed
C. @RunAs
D. @DeclareRoles
E. @PermitAll
Mark works as a Software Developer for ZenTech Inc. He writes the following code.
1.
public class Ques0352 {
2.
public static void main(String[] args) {
3.
String s1="JavaObject";
4.
String s1="ObjectJava";
5.
String s2="ObjectJava";
6.
if(s2.equals(s1))
7.
{ System.out.println("Equal"); }
8.
else
9.
{ System.out.println("Unequal"); }
10.
}
11.
}
Which of the following will happen to the code when he attempts to compile and run it?
A. It will compile successfully and Unequal will be displayed as output.
B. It will give a compile-time error at line 3.
C. It will compile successfully and Equal will be displayed as output.
D. It will give a compile-time error at line 4.
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only GIAC exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your GSSP-JAVA exam preparations and GIAC certification application, do not hesitate to visit our Vcedump.com to find your solutions here.