io.gravitee.am.gateway.handler.common.alert.EndUserEvent Maven / Gradle / Ivy
/**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.gravitee.am.gateway.handler.common.alert;
import io.gravitee.am.identityprovider.api.Authentication;
import io.gravitee.am.model.Domain;
import io.gravitee.am.model.Environment;
import io.gravitee.am.model.Organization;
import io.gravitee.am.model.oidc.Client;
import java.util.Date;
/**
* Represents an event made by an end user on a particular domain and application.
*
* @author Jeoffrey HAEYAERT (jeoffrey.haeyaert at graviteesource.com)
* @author GraviteeSource Team
*/
public class EndUserEvent {
private String id;
private Domain domain;
private Client client;
private Environment environment;
private Organization organization;
private Authentication principal;
private Date eventDate;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public Domain getDomain() {
return domain;
}
public void setDomain(Domain domain) {
this.domain = domain;
}
public Client getClient() {
return client;
}
public void setClient(Client client) {
this.client = client;
}
public Environment getEnvironment() {
return environment;
}
public void setEnvironment(Environment environment) {
this.environment = environment;
}
public Organization getOrganization() {
return organization;
}
public void setOrganization(Organization organization) {
this.organization = organization;
}
public Authentication getPrincipal() {
return principal;
}
public void setPrincipal(Authentication principal) {
this.principal = principal;
}
public Date getEventDate() {
return eventDate;
}
public void setEventDate(Date eventDate) {
this.eventDate = eventDate;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy