SecurityBeanLocal.java 565 Bytes
package fi.insomnia.bortal.beans;

import javax.ejb.Local;

import fi.insomnia.bortal.model.LogEntry;
import fi.insomnia.bortal.model.User;

@Local
public interface SecurityBeanLocal {

    LogEntry logPermissionDenied(User user, Exception exception);

    LogEntry logException(User user, Exception exception);

    LogEntry logMessage(User user, String description);

    LogEntry logMessage(SecurityLogType type, User user, String description);

    LogEntry logMessage(String description);

    LogEntry logMessage(SecurityLogType type, String description);

}