Top Description Inners Fields Constructors Methods
io.undertow.security.api

public Class SecurityNotification

extends Object
Class Inheritance
Imports
io.undertow.security.idm.Account, io.undertow.server.HttpServerExchange

Notification representing a security event such as a successful or failed authentication.
Author
Darran Lofthouse

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Field Summary

Modifier and TypeField and Description
private final Account
private final boolean
private final SecurityNotification.EventType
private final HttpServerExchange
private final String
private final String
private final boolean

Constructor Summary

AccessConstructor and Description
public
SecurityNotification(final HttpServerExchange exchange, final SecurityNotification.EventType eventType, final Account account, final String mechanism, final boolean programatic, final String message, boolean cachingRequired)

Method Summary

Modifier and TypeMethod and Description
public Account
public SecurityNotification.EventType
public HttpServerExchange
public String
public String
public boolean
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

accountback to summary
private final Account account
cachingRequiredback to summary
private final boolean cachingRequired
eventTypeback to summary
private final SecurityNotification.EventType eventType
exchangeback to summary
private final HttpServerExchange exchange
mechanismback to summary
private final String mechanism
messageback to summary
private final String message
programaticback to summary
private final boolean programatic

Constructor Detail

SecurityNotificationback to summary
public SecurityNotification(final HttpServerExchange exchange, final SecurityNotification.EventType eventType, final Account account, final String mechanism, final boolean programatic, final String message, boolean cachingRequired)

Method Detail

getAccountback to summary
public Account getAccount()
getEventTypeback to summary
public SecurityNotification.EventType getEventType()
getExchangeback to summary
public HttpServerExchange getExchange()
getMechanismback to summary
public String getMechanism()
getMessageback to summary
public String getMessage()
isCachingRequiredback to summary
public boolean isCachingRequired()
isProgramaticback to summary
public boolean isProgramatic()
io.undertow.security.api back to summary

public final Enum SecurityNotification.EventType

extends Enum<SecurityNotification.EventType>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final SecurityNotification.EventType
public static final SecurityNotification.EventType
public static final SecurityNotification.EventType

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static SecurityNotification.EventType
public static SecurityNotification.EventType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

AUTHENTICATEDback to summary
public static final SecurityNotification.EventType AUTHENTICATED
FAILED_AUTHENTICATIONback to summary
public static final SecurityNotification.EventType FAILED_AUTHENTICATION
LOGGED_OUTback to summary
public static final SecurityNotification.EventType LOGGED_OUT

Constructor Detail

EventTypeback to summary
private EventType()

Method Detail

valueOfback to summary
public static SecurityNotification.EventType valueOf(String name)
valuesback to summary
public static SecurityNotification.EventType[] values()