Tabnine Logo
SecurityIdentity
Code IndexAdd Tabnine to your IDE (free)

How to use
SecurityIdentity
in
org.eclipse.jst.j2ee.common

Best Java code snippets using org.eclipse.jst.j2ee.common.SecurityIdentity (Showing top 2 results out of 315)

origin: org.eclipse/org.eclipse.jst.j2ee

public String getText(Object object) {
  SecurityIdentity securityIdentity = ((SecurityIdentity) object);
  return "SecurityIdentity " + securityIdentity.getDescription(); //$NON-NLS-1$
}
origin: org.eclipse/org.eclipse.jst.j2ee.core

public Translator[] getChildren(Object o, int versionID) {
  if (o == null)
    return CommonTranslators.EMPTY_CHILDREN;
  if (((SecurityIdentity)o).isRunAsSpecifiedIdentity())
    return RUN_AS_TRANSLATORS;
  else if (((SecurityIdentity)o).isUseCallerIdentity())
    return USE_CALLER_TRANSLATORS;
  else
    throw new IllegalStateException("Internal error: Security Identity Type expected"); //$NON-NLS-1$
}
org.eclipse.jst.j2ee.commonSecurityIdentity

Javadoc

The security-identity element specifies whether the caller's security identity is to be used for the execution of the methods of the enterprise bean or whether a specific run-as identity is to be used. It contains an optional description and a specification of the security identity to be used.

Most used methods

  • getDescription
  • isRunAsSpecifiedIdentity
    Returns boolean value for the RunAsSpecifiedIdentity
  • isUseCallerIdentity
    Returns boolean value for the Caller Identity

Popular in Java

  • Updating database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • getSupportFragmentManager (FragmentActivity)
  • setContentView (Activity)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now