ECSP JAVA: JAAS

Descripción

ECSP JAVA
Carlos Veliz
Test por Carlos Veliz, actualizado hace más de 1 año
Carlos Veliz
Creado por Carlos Veliz hace alrededor de 9 años
179
0

Resumen del Recurso

Pregunta 1

Pregunta
In the JAAS architecture, which of the following modules does not correspond to the login modules?
Respuesta
  • NTLogin
  • MyLogin
  • LnxLogin
  • Krd5Login
  • JndiLogin

Pregunta 2

Pregunta
What is the correct order of steps to implement the authorization JASS?
Respuesta
  • 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

Pregunta 3

Pregunta
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?
Respuesta
  • Sufficient
  • True
  • False
  • True and False
  • 0 (Zero)

Pregunta 4

Pregunta
Which of the terms is not part of the implementation of Login Module?
Respuesta
  • Abort()
  • Commit()
  • Rollback()
  • Initialize()
  • Login()

Pregunta 5

Pregunta
The description: "Removes all the Principals and credentials associated with the Subject". It corresponds to the method:
Respuesta
  • logout()
  • abort()
  • commit()
  • initialize()
  • rollback()

Pregunta 6

Pregunta
In the architecture of JAVA EE. Which of the following statements belong to the DATA Tier?
Respuesta
  • Service Locator
  • DAO
  • View Manager
  • Web Services Client
  • Services Facade

Pregunta 7

Pregunta
Which of the following is not a popular Java EE server?
Respuesta
  • Apache
  • Jboss
  • WebSphere
  • Weblogic
  • Glassfish

Pregunta 8

Pregunta
What is the default port for the Tomcat server shutdown?
Respuesta
  • 1080
  • 8005
  • 8080
  • 8001
  • 8085

Pregunta 9

Pregunta
Indicate the statement which he considers a good practice to ensure tomcat server
Respuesta
  • 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

Pregunta 10

Pregunta
Declaring roles. Which of the following does not belong to the method annotations?
Respuesta
  • @DeclareRoles
  • @RolesAllowed("List-of-roles")
  • @AllowRoles
  • @DenyAll
  • @PermitAll
Mostrar resumen completo Ocultar resumen completo

Similar

Java Concurrency and Session Management
Carlos Veliz
Introduction to Java Security
Carlos Veliz
Java Mix Test 42p
Carlos Veliz
Authentication and Authorization
Carlos Veliz
Criptography
Carlos Veliz
Java - Mix
Carlos Veliz
Test 1
brenda aguero
test4 de voleibol
cristianvilia.leiv
Java Application Vulnerabilities
Carlos Veliz
Java Concurrency and Session Management
Jose Luis Vasquez Galvez