All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ow2.bonita.facade.StandardSecurityContext Maven / Gradle / Ivy

package org.ow2.bonita.facade;

import java.util.logging.Level;
import java.util.logging.Logger;

import org.ow2.bonita.identity.auth.SecurityContext;

public class StandardSecurityContext implements BonitaSecurityContext {

  private static final Logger LOG = Logger.getLogger(StandardSecurityContext.class.getName());

  public String getUser() {
    if (LOG.isLoggable(Level.FINEST)) {
      LOG.finest("Looking for user in " + StandardSecurityContext.class);
    }
    return SecurityContext.getCallerId();
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy