public class Helpers extends Object
Modifier and Type | Field and Description |
---|---|
static List<String> |
KNOWN_PRINCIPALS |
Constructor and Description |
---|
Helpers() |
Modifier and Type | Method and Description |
---|---|
static void |
doAuthPrompt(String realm,
javax.servlet.http.HttpServletResponse response) |
static void |
doForbidden(javax.servlet.http.HttpServletResponse response) |
static void |
doJmxPrivileged(PrivilegedExceptionAction<Void> action) |
static String |
getUsernameFromSubject(Subject subject) |
static boolean |
isRunningOnWildFly() |
public static void doForbidden(javax.servlet.http.HttpServletResponse response)
public static void doAuthPrompt(String realm, javax.servlet.http.HttpServletResponse response)
public static boolean isRunningOnWildFly()
public static void doJmxPrivileged(PrivilegedExceptionAction<Void> action) throws Exception
Exception
Copyright © 2019 JBoss by Red Hat. All rights reserved.