mirror of
https://github.com/google/nomulus.git
synced 2025-05-12 22:38:16 +02:00
Remove xsrfScope and xsrfProtection authentication attributes
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=159121132
This commit is contained in:
parent
580c41f2d6
commit
7d2f53a6fe
19 changed files with 103 additions and 185 deletions
|
@ -26,8 +26,6 @@ import javax.servlet.http.HttpSession;
|
|||
/** Runs EPP from the console and requires GAE user authentication. */
|
||||
@Action(
|
||||
path = "/registrar-xhr",
|
||||
xsrfProtection = true,
|
||||
xsrfScope = EppConsoleAction.XSRF_SCOPE,
|
||||
method = Method.POST,
|
||||
auth =
|
||||
@Auth(
|
||||
|
@ -38,8 +36,6 @@ import javax.servlet.http.HttpSession;
|
|||
)
|
||||
public class EppConsoleAction implements Runnable {
|
||||
|
||||
public static final String XSRF_SCOPE = "console";
|
||||
|
||||
@Inject @Payload byte[] inputXmlBytes;
|
||||
@Inject HttpSession session;
|
||||
@Inject EppRequestHandler eppRequestHandler;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue