congrats Icon
New! Announcing our next generation AI code completions
Read here
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

  • Reactive rest calls using spring rest template
  • getExternalFilesDir (Context)
  • getApplicationContext (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Collectors (java.util.stream)
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now