String rlm = application.getRealm(); Iterator ejbs = bundleDescriptor.getEjbs().iterator(); for(; ejbs.hasNext();){
_realmName = app.getRealm(); if (_realmName == null && loginConfig != null) { _realmName = loginConfig.getRealmName();
realmName = desc.getApplication().getRealm();
realmName = ejbDesc.getApplication().getRealm();
realmName = desc.getApplication().getRealm();
Application app = ejbEndpoint.getEndpoint().getBundleDescriptor().getApplication(); if (app != null) { realmName = app.getRealm();
public void accept(EjbBundleDescriptor bundleDescriptor) { this.bundleDescriptor = bundleDescriptor; application = bundleDescriptor.getApplication(); super.accept(bundleDescriptor); /** set the realm name on each ejb to match the ones on this application * this is required right now to pass the stringent CSIv2 criteria * whereby the realm-name for the ejb being authenticated on * has to match the one on the application. We look at the IORConfigurator * descriptor * @todo: change the csiv2 layer so that it does not look at * IORConfiguratorDescriptor. * @see iiop/security/SecurityMechanismSelector.evaluateClientConformance. */ String rlm = application.getRealm(); if (rlm != null) { for(EjbDescriptor ejb : bundleDescriptor.getEjbs()) { for (EjbIORConfigurationDescriptor desc : ejb.getIORConfigurationDescriptors()) { desc.setRealmName(rlm); } } } }
ejbName = deploymentDescriptor.getName(); realmName = deploymentDescriptor.getApplication().getRealm();
ejbName = deploymentDescriptor.getName(); realmName = deploymentDescriptor.getApplication().getRealm();
appendTextChild(appNode, RuntimeTagNames.REALM, application.getRealm());
appendTextChild(appNode, RuntimeTagNames.REALM, application.getRealm());