本文整理了Java中com.sun.enterprise.deployment.Application.getRealm()
方法的一些代码示例,展示了Application.getRealm()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Application.getRealm()
方法的具体详情如下:
包路径:com.sun.enterprise.deployment.Application
类名称:Application
方法名:getRealm
暂无
代码示例来源:origin: org.glassfish.deployment/dol
String rlm = application.getRealm();
Iterator ejbs = bundleDescriptor.getEjbs().iterator();
for(; ejbs.hasNext();){
代码示例来源:origin: org.glassfish.main.security/websecurity
_realmName = app.getRealm();
if (_realmName == null && loginConfig != null) {
_realmName = loginConfig.getRealmName();
代码示例来源:origin: org.glassfish.main.security/ejb.security
realmName = desc.getApplication().getRealm();
代码示例来源:origin: org.glassfish.main.security/ejb.security
realmName = ejbDesc.getApplication().getRealm();
代码示例来源:origin: org.glassfish.main.security/ejb.security
realmName = desc.getApplication().getRealm();
代码示例来源:origin: org.glassfish.webservices/jsr109-impl
Application app = ejbEndpoint.getEndpoint().getBundleDescriptor().getApplication();
if (app != null) {
realmName = app.getRealm();
代码示例来源:origin: org.glassfish.main.deployment/dol
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);
}
}
}
}
代码示例来源:origin: org.glassfish.main.ejb/ejb-container
ejbName = deploymentDescriptor.getName();
realmName = deploymentDescriptor.getApplication().getRealm();
代码示例来源:origin: org.glassfish.ejb/ejb-container
ejbName = deploymentDescriptor.getName();
realmName = deploymentDescriptor.getApplication().getRealm();
代码示例来源:origin: org.glassfish.deployment/dol
appendTextChild(appNode, RuntimeTagNames.REALM, application.getRealm());
代码示例来源:origin: org.glassfish.main.deployment/dol
appendTextChild(appNode, RuntimeTagNames.REALM, application.getRealm());
内容来源于网络,如有侵权,请联系作者删除!