Carlos Veliz
Quiz by , created more than 1 year ago

ECSP JAVA

186
0
0
Carlos Veliz
Created by Carlos Veliz over 9 years ago
Close

ECSP JAVA: JAAS

Question 1 of 10

1

In the JAAS architecture, which of the following modules does not correspond to the login modules?

Select one of the following:

  • NTLogin

  • MyLogin

  • LnxLogin

  • Krd5Login

  • JndiLogin

Explanation

Question 2 of 10

1

What is the correct order of steps to implement the authorization JASS?

Select one of the following:

  • Subject - Security Manager - Permission - Access Controller - Protected Domain - Permission Collection - Policy - Policy File

  • Permission - Subject - Access Controller - Protected Domain - Permission Collection - Policy

  • Subject - Permission - Access Controller - Protected Domain - Permission Collection - Policy

  • Subject - Permission - Security Manager - AccessControl Context - Access Controller - Permission Collection - Protected Domain - Policy File - Policy

  • Subject - Permission - Security Manager - Access Controller - AccessControl Context - Protected Domain - Permission Collection - Policy - Policy File

Explanation

Question 3 of 10

1

Flag, specifies the way to respond when the current login module gives an authentication failure. Which of the following values can be set to flag?

Select one of the following:

  • Sufficient

  • True

  • False

  • True and False

  • 0 (Zero)

Explanation

Question 4 of 10

1

Which of the terms is not part of the implementation of Login Module?

Select one of the following:

  • Abort()

  • Commit()

  • Rollback()

  • Initialize()

  • Login()

Explanation

Question 5 of 10

1

The description: "Removes all the Principals and credentials associated with the Subject". It corresponds to the method:

Select one of the following:

  • logout()

  • abort()

  • commit()

  • initialize()

  • rollback()

Explanation

Question 6 of 10

1

In the architecture of JAVA EE. Which of the following statements belong to the DATA Tier?

Select one of the following:

  • Service Locator

  • DAO

  • View Manager

  • Web Services Client

  • Services Facade

Explanation

Question 7 of 10

1

Which of the following is not a popular Java EE server?

Select one of the following:

  • Apache

  • Jboss

  • WebSphere

  • Weblogic

  • Glassfish

Explanation

Question 8 of 10

1

What is the default port for the Tomcat server shutdown?

Select one of the following:

  • 1080

  • 8005

  • 8080

  • 8001

  • 8085

Explanation

Question 9 of 10

1

Indicate the statement which he considers a good practice to ensure tomcat server

Select one of the following:

  • Delete everithing from path HOME/webapps

  • Delete everithing from path HOME/server/webapps

  • Ensure that the default web servlet configuration does not serve the index pages in the absense of a welcome page

  • Clear all text password from HOME/conf/server.xml

  • All of the above

Explanation

Question 10 of 10

1

Declaring roles. Which of the following does not belong to the method annotations?

Select one of the following:

  • @DeclareRoles

  • @RolesAllowed("List-of-roles")

  • @AllowRoles

  • @DenyAll

  • @PermitAll

Explanation