Tabnine Logo
SessionContext.get
Code IndexAdd Tabnine to your IDE (free)

How to use
get
method
in
org.jboss.seam.contexts.SessionContext

Best Java code snippets using org.jboss.seam.contexts.SessionContext.get (Showing top 9 results out of 315)

origin: be.fedict.eid-dss/eid-dss-webapp-control

@Override
public String getRp() {
  RPEntity rp = (RPEntity) this.sessionContext.get(RP_SESSION_ATTRIBUTE);
  if (null != rp) {
    return rp.getName();
  }
  return null;
}
origin: org.jboss.seam/jboss-seam

@Override
public void flush() 
{
 for ( String name: getNames() )
 {
   Object attribute = get(name);
   boolean dirty = attribute!=null && 
      ( Contexts.isAttributeDirty(attribute) || Seam.isEntityClass( attribute.getClass() ) );
   if ( dirty )
   {
    set(name, attribute);
   }
 }      
}
origin: be.fedict.eid-idp/eid-idp-webapp-control

@Override
public boolean isRpLogo() {
  RPEntity rp = (RPEntity) this.sessionContext
      .get(Constants.RP_SESSION_ATTRIBUTE);
  if (null != rp) {
    return null != rp.getLogo();
  }
  return false;
}
origin: be.fedict.eid-dss/eid-dss-webapp-control

@Override
public boolean isRpLogo() {
  RPEntity rp = (RPEntity) this.sessionContext.get(RP_SESSION_ATTRIBUTE);
  return null != rp && null != rp.getLogo();
}
origin: be.fedict.eid-idp/eid-idp-webapp-control

@Override
public String getRp() {
  RPEntity rp = (RPEntity) this.sessionContext
      .get(Constants.RP_SESSION_ATTRIBUTE);
  if (null != rp) {
    return rp.getName();
  }
  return null;
}
origin: be.fedict.eid-idp/eid-idp-webapp-control

@Override
public void paint(OutputStream stream, Object object) throws IOException {
  RPEntity rp = (RPEntity) this.sessionContext
      .get(Constants.RP_SESSION_ATTRIBUTE);
  if (null != rp && null != rp.getLogo()) {
    this.log.debug("paint logo");
    stream.write(rp.getLogo());
    stream.close();
  }
}
origin: be.fedict.eid-dss/eid-dss-webapp-control

@Override
public void paint(OutputStream stream, Object object) throws IOException {
  RPEntity rp = (RPEntity) this.sessionContext.get(RP_SESSION_ATTRIBUTE);
  if (null != rp && null != rp.getLogo()) {
    this.log.debug("paint logo");
    stream.write(rp.getLogo());
    stream.close();
  }
}
origin: be.fedict.eid-idp/eid-idp-webapp-control

@Override
@Factory(ATTRIBUTE_LIST_NAME)
public void attributeFactory() {
  RPEntity rp = (RPEntity) this.sessionContext
      .get(Constants.RP_SESSION_ATTRIBUTE);
  if (null != rp) {
    this.attributeList = new LinkedList<AttributeEntity>();
    for (RPAttributeEntity rpAttribute : rp.getAttributes()) {
      this.attributeList.add(rpAttribute.getAttribute());
    }
  } else {
    this.attributeList = this.attributeService.listAttributes();
  }
}
origin: be.fedict.eid-trust-service/eid-trust-service-admin-portal-model

/**
 * {@inheritDoc}
 */
@Admin
public void register() {
  this.log.debug("register");
  X509Certificate authnCert = (X509Certificate) this.sessionContext
      .get(IdentityDataMessageHandler.AUTHN_CERT_SESSION_ATTRIBUTE);
  this.selectedAdmin = this.administratorService.register(authnCert);
}
org.jboss.seam.contextsSessionContextget

Popular methods of SessionContext

  • <init>
  • getNames
  • set

Popular in Java

  • Finding current android device location
  • setContentView (Activity)
  • onRequestPermissionsResult (Fragment)
  • getResourceAsStream (ClassLoader)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • JComboBox (javax.swing)
  • Best IntelliJ plugins
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