Tabnine Logo
EJBArchiveMetaData.getSecurityDomain
Code IndexAdd Tabnine to your IDE (free)

How to use
getSecurityDomain
method
in
org.jboss.wsf.spi.metadata.j2ee.EJBArchiveMetaData

Best Java code snippets using org.jboss.wsf.spi.metadata.j2ee.EJBArchiveMetaData.getSecurityDomain (Showing top 12 results out of 315)

origin: org.jboss.ws/jbossws-jboss510x

public void addSecurityDomain(JBossWebMetaData jbossWeb, Deployment dep)
{
 EJBArchiveMetaData ejbMetaData = dep.getAttachment(EJBArchiveMetaData.class);
 if (ejbMetaData == null)
   throw new IllegalStateException("Cannot obtain application meta data");
 String securityDomain = ejbMetaData.getSecurityDomain();
 if (securityDomain != null)
 {
   if (securityDomain.startsWith("java:/jaas/") == false)
    securityDomain = "java:/jaas/" + securityDomain;
   jbossWeb.setSecurityDomain(securityDomain);
 }
}
origin: org.jboss.ws/jbossws-jboss600x

public void addSecurityDomain(JBossWebMetaData jbossWeb, Deployment dep)
{
 EJBArchiveMetaData ejbMetaData = dep.getAttachment(EJBArchiveMetaData.class);
 if (ejbMetaData == null)
   throw new IllegalStateException("Cannot obtain application meta data");
 String securityDomain = ejbMetaData.getSecurityDomain();
 if (securityDomain != null)
 {
   if (securityDomain.startsWith("java:/jaas/") == false)
    securityDomain = "java:/jaas/" + securityDomain;
   jbossWeb.setSecurityDomain(securityDomain);
 }
}
origin: org.jboss.ws/jbossws-jboss501CR1

public void addSecurityDomain(JBossWebMetaData jbossWeb, Deployment dep)
{
 EJBArchiveMetaData ejbMetaData = dep.getAttachment(EJBArchiveMetaData.class);
 if (ejbMetaData == null)
   throw new IllegalStateException("Cannot obtain application meta data");
 String securityDomain = ejbMetaData.getSecurityDomain();
 if (securityDomain != null)
 {
   if (securityDomain.startsWith("java:/jaas/") == false)
    securityDomain = "java:/jaas/" + securityDomain;
   jbossWeb.setSecurityDomain(securityDomain);
 }
}
origin: org.jboss.ws/jbossws-jboss500x

public void addSecurityDomain(JBossWebMetaData jbossWeb, Deployment dep)
{
 EJBArchiveMetaData ejbMetaData = dep.getAttachment(EJBArchiveMetaData.class);
 if (ejbMetaData == null)
   throw new IllegalStateException("Cannot obtain application meta data");
 String securityDomain = ejbMetaData.getSecurityDomain();
 if (securityDomain != null)
 {
   if (securityDomain.startsWith("java:/jaas/") == false)
    securityDomain = "java:/jaas/" + securityDomain;
   jbossWeb.setSecurityDomain(securityDomain);
 }
}
origin: org.jboss.ws/jbossws-jboss500Beta4

public void addSecurityDomain(Element jbossWeb, Deployment dep)
{
 EJBArchiveMetaData ejbMetaData = dep.getAttachment(EJBArchiveMetaData.class);
 if (ejbMetaData == null)
   throw new IllegalStateException("Cannot obtain application meta data");
 
 String securityDomain = ejbMetaData.getSecurityDomain();
 if (securityDomain != null)
 {
   if (securityDomain.startsWith("java:/jaas/") == false)
    securityDomain = "java:/jaas/" + securityDomain;
      jbossWeb.addElement("security-domain").addText(securityDomain);
 }
}
origin: org.jboss.ws/jbossws-jboss421

public void addSecurityDomain(Element jbossWeb, Deployment dep)
{
 EJBArchiveMetaData appMetaData = dep.getAttachment(EJBArchiveMetaData.class);
 if (appMetaData == null)
   throw new IllegalStateException("Cannot obtain application meta data");
 String securityDomain = appMetaData.getSecurityDomain();
 if (securityDomain != null)
 {
   if (securityDomain.startsWith("java:/jaas/") == false)
    securityDomain = "java:/jaas/" + securityDomain;
      jbossWeb.addElement("security-domain").addText(securityDomain);
 }
}
origin: org.jboss.ws/jbossws-jboss510

/**
* @see org.jboss.webservices.integration.tomcat.AbstractSecurityMetaDataAccessorEJB#getSecurityDomain(Deployment)
*
* @param dep webservice deployment
* @return security domain associated with EJB 21 deployment
*/
public String getSecurityDomain(final Deployment dep)
{
 final EJBArchiveMetaData ejbMetaData = WSHelper.getRequiredAttachment(dep, EJBArchiveMetaData.class);
 return super.appendJaasPrefix(ejbMetaData.getSecurityDomain());
}
origin: org.jboss.ws/jbossws-jboss600M2

/**
* @see org.jboss.webservices.integration.tomcat.AbstractSecurityMetaDataAccessorEJB#getSecurityDomain(Deployment)
*
* @param dep webservice deployment
* @return security domain associated with EJB 21 deployment
*/
public String getSecurityDomain(final Deployment dep)
{
 final EJBArchiveMetaData ejbMetaData = WSHelper.getRequiredAttachment(dep, EJBArchiveMetaData.class);
 return super.appendJaasPrefix(ejbMetaData.getSecurityDomain());
}
origin: org.jboss.ws/jbossws-jboss501

/**
* @see org.jboss.webservices.integration.tomcat.AbstractSecurityMetaDataAccessorEJB#getSecurityDomain(Deployment)
*
* @param dep webservice deployment
* @return security domain associated with EJB 21 deployment
*/
public String getSecurityDomain(final Deployment dep)
{
 final EJBArchiveMetaData ejbMetaData = WSHelper.getRequiredAttachment(dep, EJBArchiveMetaData.class);
 return super.appendJaasPrefix(ejbMetaData.getSecurityDomain());
}
origin: org.jboss.ws/jbossws-jboss423x

public void addSecurityDomain(Element jbossWeb, Deployment dep)
{
 EJBArchiveMetaData appMetaData = dep.getAttachment(EJBArchiveMetaData.class);
 if (appMetaData == null)
   throw new IllegalStateException("Cannot obtain application meta data");
 String securityDomain = appMetaData.getSecurityDomain();
 if (securityDomain != null)
 {
   if (securityDomain.startsWith("java:/jaas/") == false)
    securityDomain = "java:/jaas/" + securityDomain;
      jbossWeb.addElement("security-domain").addText(securityDomain);
 }
}
origin: org.jboss.ws/jbossws-jboss423

public void addSecurityDomain(Element jbossWeb, Deployment dep)
{
 EJBArchiveMetaData appMetaData = dep.getAttachment(EJBArchiveMetaData.class);
 if (appMetaData == null)
   throw new IllegalStateException("Cannot obtain application meta data");
 String securityDomain = appMetaData.getSecurityDomain();
 if (securityDomain != null)
 {
   if (securityDomain.startsWith("java:/jaas/") == false)
    securityDomain = "java:/jaas/" + securityDomain;
      jbossWeb.addElement("security-domain").addText(securityDomain);
 }
}
origin: org.jboss.ws.native/jbossws-native-core

if (apMetaData != null)
 wsMetaData.setSecurityDomain(apMetaData.getSecurityDomain());
org.jboss.wsf.spi.metadata.j2eeEJBArchiveMetaDatagetSecurityDomain

Popular methods of EJBArchiveMetaData

  • getBeanByEjbName
  • <init>
  • setConfigFile
  • setConfigName
  • setEnterpriseBeans
  • setPublishLocationAdapter
  • setWebServiceContextRoot
  • setSecurityDomain
  • getWebServiceContextRoot
  • getEnterpriseBeans
  • getWsdlPublishLocationByName
  • getWsdlPublishLocationByName

Popular in Java

  • Finding current android device location
  • getApplicationContext (Context)
  • onRequestPermissionsResult (Fragment)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Collectors (java.util.stream)
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Best plugins for Eclipse
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