public class org.glassfish.web.ha.authenticator.HASSOFactory extends java.lang.Object implements com.sun.enterprise.web.SSOFactory
{
private static final java.lang.String STORE_NAME;
private static org.glassfish.ha.store.api.BackingStore ssoEntryMetadataBackingStore;
private org.glassfish.hk.api.ServiceLocator services;
private com.sun.enterprise.container.common.spi.util.JavaEEIOUtils ioUtils;
public void <init>()
{
org.glassfish.web.ha.authenticator.HASSOFactory v;
v := @this: org.glassfish.web.ha.authenticator.HASSOFactory;
specialinvoke v.<java.lang.Object: void <init>()>();
return;
}
public com.sun.enterprise.security.web.GlassFishSingleSignOn createSingleSignOnValve(java.lang.String)
{
org.glassfish.web.ha.authenticator.HASSOFactory v;
com.sun.enterprise.container.common.spi.util.JavaEEIOUtils v;
org.glassfish.ha.store.api.BackingStore v;
com.sun.enterprise.web.session.PersistenceType v;
org.glassfish.web.ha.authenticator.HASingleSignOn v;
java.lang.String v, v;
org.glassfish.hk.api.ServiceLocator v;
v := @this: org.glassfish.web.ha.authenticator.HASSOFactory;
v := @parameter: java.lang.String;
v = <com.sun.enterprise.web.session.PersistenceType: com.sun.enterprise.web.session.PersistenceType REPLICATED>;
v = virtualinvoke v.<com.sun.enterprise.web.session.PersistenceType: java.lang.String getType()>();
v = new org.glassfish.web.ha.authenticator.HASingleSignOn;
v = v.<org.glassfish.web.ha.authenticator.HASSOFactory: com.sun.enterprise.container.common.spi.util.JavaEEIOUtils ioUtils>;
v = v.<org.glassfish.web.ha.authenticator.HASSOFactory: org.glassfish.hk.api.ServiceLocator services>;
v = staticinvoke <org.glassfish.web.ha.authenticator.HASSOFactory: org.glassfish.ha.store.api.BackingStore getSsoEntryMetadataBackingStore(java.lang.String,java.lang.String,org.glassfish.hk.api.ServiceLocator)>(v, "SSOStore", v);
specialinvoke v.<org.glassfish.web.ha.authenticator.HASingleSignOn: void <init>(com.sun.enterprise.container.common.spi.util.JavaEEIOUtils,org.glassfish.ha.store.api.BackingStore)>(v, v);
return v;
}
protected static synchronized org.glassfish.ha.store.api.BackingStore getSsoEntryMetadataBackingStore(java.lang.String, java.lang.String, org.glassfish.hk.api.ServiceLocator)
{
java.lang.Throwable v;
java.lang.'annotation'.Annotation[] v, v;
org.glassfish.ha.store.api.BackingStore v, v, v;
org.glassfish.ha.store.api.BackingStoreConfiguration v, v, v, v, v, v;
java.lang.String v, v, v, v;
boolean v;
java.lang.Object v, v;
org.glassfish.gms.bootstrap.GMSAdapter v, v;
org.glassfish.hk.api.ServiceLocator v;
com.sun.enterprise.ee.cms.core.GroupManagementService v;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v := @parameter: org.glassfish.hk.api.ServiceLocator;
v = <org.glassfish.web.ha.authenticator.HASSOFactory: org.glassfish.ha.store.api.BackingStore ssoEntryMetadataBackingStore>;
if v != null goto label;
v = newarray (java.lang.'annotation'.Annotation)[0];
v = interfaceinvoke v.<org.glassfish.hk.api.ServiceLocator: java.lang.Object getService(java.lang.Class,java.lang.String,java.lang.'annotation'.Annotation[])>(class "Lorg/glassfish/ha/store/api/BackingStoreFactory;", v, v);
v = new org.glassfish.ha.store.api.BackingStoreConfiguration;
specialinvoke v.<org.glassfish.ha.store.api.BackingStoreConfiguration: void <init>()>();
v = "";
v = "";
v = newarray (java.lang.'annotation'.Annotation)[0];
v = interfaceinvoke v.<org.glassfish.hk.api.ServiceLocator: java.lang.Object getService(java.lang.Class,java.lang.'annotation'.Annotation[])>(class "Lorg/glassfish/gms/bootstrap/GMSAdapterService;", v);
v = virtualinvoke v.<org.glassfish.gms.bootstrap.GMSAdapterService: boolean isGmsEnabled()>();
if v == 0 goto label;
v = virtualinvoke v.<org.glassfish.gms.bootstrap.GMSAdapterService: org.glassfish.gms.bootstrap.GMSAdapter getGMSAdapter()>();
v = interfaceinvoke v.<org.glassfish.gms.bootstrap.GMSAdapter: java.lang.String getClusterName()>();
v = virtualinvoke v.<org.glassfish.gms.bootstrap.GMSAdapterService: org.glassfish.gms.bootstrap.GMSAdapter getGMSAdapter()>();
v = interfaceinvoke v.<org.glassfish.gms.bootstrap.GMSAdapter: com.sun.enterprise.ee.cms.core.GroupManagementService getModule()>();
v = interfaceinvoke v.<com.sun.enterprise.ee.cms.core.GroupManagementService: java.lang.String getInstanceName()>();
label:
v = virtualinvoke v.<org.glassfish.ha.store.api.BackingStoreConfiguration: org.glassfish.ha.store.api.BackingStoreConfiguration setStoreName(java.lang.String)>(v);
v = virtualinvoke v.<org.glassfish.ha.store.api.BackingStoreConfiguration: org.glassfish.ha.store.api.BackingStoreConfiguration setClusterName(java.lang.String)>(v);
v = virtualinvoke v.<org.glassfish.ha.store.api.BackingStoreConfiguration: org.glassfish.ha.store.api.BackingStoreConfiguration setInstanceName(java.lang.String)>(v);
v = virtualinvoke v.<org.glassfish.ha.store.api.BackingStoreConfiguration: org.glassfish.ha.store.api.BackingStoreConfiguration setStoreType(java.lang.String)>(v);
v = virtualinvoke v.<org.glassfish.ha.store.api.BackingStoreConfiguration: org.glassfish.ha.store.api.BackingStoreConfiguration setKeyClazz(java.lang.Class)>(class "Ljava/lang/String;");
virtualinvoke v.<org.glassfish.ha.store.api.BackingStoreConfiguration: org.glassfish.ha.store.api.BackingStoreConfiguration setValueClazz(java.lang.Class)>(class "Lorg/glassfish/web/ha/authenticator/HASingleSignOnEntryMetadata;");
label:
v = interfaceinvoke v.<org.glassfish.ha.store.api.BackingStoreFactory: org.glassfish.ha.store.api.BackingStore createBackingStore(org.glassfish.ha.store.api.BackingStoreConfiguration)>(v);
<org.glassfish.web.ha.authenticator.HASSOFactory: org.glassfish.ha.store.api.BackingStore ssoEntryMetadataBackingStore> = v;
label:
goto label;
label:
v := @caughtexception;
virtualinvoke v.<org.glassfish.ha.store.api.BackingStoreException: void printStackTrace()>();
label:
v = <org.glassfish.web.ha.authenticator.HASSOFactory: org.glassfish.ha.store.api.BackingStore ssoEntryMetadataBackingStore>;
return v;
catch org.glassfish.ha.store.api.BackingStoreException from label to label with label;
}
static void <clinit>()
{
<org.glassfish.web.ha.authenticator.HASSOFactory: org.glassfish.ha.store.api.BackingStore ssoEntryMetadataBackingStore> = null;
return;
}
}