Senior Java Engineer - Security - Elasticsearch
SecurityPosted 4 weeks agofrom Elastic's own hiring page
- Work type
- On-siteUnited Kingdom
- Experience
- Not stated
- Pay
- Not listedUsually £44k a yearSecurity, median, all levels, in the UK (Payscale)
- Posted
- 4 weeks ago
Skills it mentions
Add your skills to see which ones you have.
About the job
Elastic, the Search AI Company, enables everyone to find the answers they need in real time, using all their data, at scale — unleashing the potential of businesses and people. The Elastic Search AI Platform, used by more than 50% of the Fortune 500, brings together the precision of search and the intelligence of AI to enable everyone to accelerate the results that matter. By taking advantage of all structured and unstructured data — securing and protecting private information more effectively — Elastic’s complete, cloud-based solutions for search, security, and observability help organizations deliver on the promise of AI.
What is The Role
We are seeking a Senior Software Developer to join the Elasticsearch Security team. In this role, you will contribute to the architecture and design of Elasticsearch's main features. These features include authentication, authorization, and tenant isolation. You will work with engineering and product leaders at Elastic. Your goal is to participate in providing high-performance security at all levels. This includes ensuring that our distributed data store has top-quality security at scale.
What You Will Be Doing
- Contributing to core security initiatives from architecture to production, focusing on the delivery of new critical features. Participating in the technical design, planning, and execution for major security components inside the Elasticsearch core engine.
- Developing the foundational security models for features.
- Optimizing security performance at scale in distributed systems environments.
- Applying cryptographic solutions to address genuine customer use cases.
- Ensuring robust data isolation within shared infrastructure supporting disparate customers.
- Monitoring and applying the latest advancements and best practices in security. This includes authentication, identity management, cryptography, and data access management.
- Collaborating with peers across the company to embed security into new customer features from the outset.
- Drive vulnerability management efforts by collaborating closely with the InfoSec team to proactively identify, assess, and remediate security risks.
- Leverage AI-driven tools to automate vulnerability triage, prioritization, and preliminary investigation, streamlining security workflows and reducing manual intervention
What You Bring
- You have deep knowledge of Java internals and JVM memory management. You understand how concurrency models work. You can write code that is high-performance, thread-safe, and lock-free. This experience includes working with large open-source and enterprise codebases.
- You have experience building authorization systems that are scalable and performant under high concurrency and large permission sets, including designing access models, validating credentials/tokens at scale, and keeping authorization decisions consistent across a distributed system.
- You have a solid comprehension of distributed systems security, including node-to-node mutual trust, zero-trust transport, partition tolerance and cluster state propagation.
- You have a deep knowledge of edge identity protocols (OAuth 2.0, SAML).
- You have a proven track record of using AI to accelerate development, debug complex systems, and optimize code, while still collaborating on the final outcomes.
- You possess the ability to collaborate across functions and teams and seamlessly transition between different projects, codebases, or teams based on business priorities
- You can work autonomously, supporting decisions and results in a distributed team by leveraging asynchronous, direct, and transparent communication
Bonus Points
- Knowledge of cipher suites, TLS handshakes, and PKI/certificate lifecycle management.
- Cryptographic methods considering memory usage and delays.
- Familiarity with the implications of Post-Quantum Cryptography (PQC) and readiness to support the migration of services to quantum-resistant cryptographic algorithms.
- Hands-on experience mapping engine-level technical controls to FedRAMP (Moderate/High), FIPS 140, and SOC 2 requirements.
- Experience working on the internals of a data store or search engine.
Additional Information - We Take Care of Our People
As a distributed company, diversity drives our identity. Whether you’re looking to launch a new career or grow an existing one, Elastic is the type of company where you can balance great work with great life. Your age is only a number. It doesn’t matter if you’re just out of college or your children are; we need you for what you can do.
We strive to have parity of benefits across regions and while regulations differ from place to place, we believe taking care of our people is the right thing to do.
- Competitive pay based on the work you do here and not your previous salary
- Health coverage for you and your family in many locations
- Ability to craft your calendar with flexible locations and schedules for many roles
- Generous number of vacation days each year
- Increase your impact - We match up to $2000 (or local currency equivalent) for financial donations and service
- Up to 40 hours each year to use toward volunteer projects you love
- Embracing parenthood with minimum of 16 weeks of parental leave
Different people approach problems differently. We need that. Elastic is an equal opportunity employer and is committed to creating an inclusive culture that celebrates different perspectives, experiences, and backgrounds. Qualified applicants will receive consideration for employment without regard to race, ethnicity, color, religion, sex, pregnancy, sexual orientation, gender perception or identity, national origin, age, marital status, protected veteran status, disability status, or any other basis protected by federal, state or local law, ordinance or regulation.
We welcome individuals with disabilities and strive to create an accessible and inclusive experience for all individuals. To request an accommodation during the application or the recruiting process, please email candidate_accessibility@elastic.co. We will reply to your request within 24 business hours of submission.
Applicants have rights under Federal Employment Laws, view posters linked below: Family and Medical Leave Act (FMLA) Poster; Pay Transparency Nondiscrimination Provision Poster; Employee Polygraph Protection Act (EPPA) Poster and Know Your Rights (Poster)
Elasticsearch develops and distributes technology and information that is subject to U.S. and other countries’ export controls and licensing requirements for individuals who are located in or are nationals of the following sanctioned countries and regions: Belarus, Cuba, Iran, North Korea, Syria, or Russia, including the Ukrainian territories annexed by Russia (The Crimea region of Ukraine, The Donetsk People's Republic (DNR), The Luhansk People's Republic (LNR), Kherson or Zaporizhzhia). If you are located in or are a national of one of the listed countries or regions, an export license may be required as a condition of your employment in this role. Please note that national origin and/or nationality do not affect eligibility for employment with Elastic.
Please see here for our Privacy Statement.
4 more openings for this job
Elastic posts this job once per place or skill set. Pick the one that fits you.
Interested?Senior Java Engineer - Security - Elasticsearch at Elastic
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Elasticsearch, Java and Security
Interview questions for this job
For the skills the ad mentions: Elasticsearch, Java and Security.
What are some use cases for using Elasticsearch versus standard sql queries?Elasticsearch
There are two primary Elasticsearch use cases:
- Text search
You want Elasticsearch when you're doing a lot of text search, where traditional RDBMS databases are not performing really well (poor configuration, acts as a black-box, poor performance). Elasticsearch is highly customizable, extendable through plugins. You can build robust search without much knowledge quite fast.
- Logging and analysis
Another edge case is that a lot people use Elasticsearch to store logs from various sources (to centralize them), so they can analyze them and make sense out of it. In this case, Kibana becomes handy. It lets you connect to Elasticsearch cluster and create visualisations straight away. For instance, Loggly is built using Elasticsearch and Kibana.
Keep in mind, that you wouldn't want to use Elasticsearch as your primary data storage. Reasons here: How reliable is ElasticSearch as a primary datastore against factors like write loss, data availability
Update
I felt like the second part is no longer edgy, it's actually what Elastic as a company has been doing really well in past year. With current DevOps movement, CI/CD pipelines, increasing amount of metrics from various sources, ELK became a defacto choice for infrastructure monitoring, it's no longer just a distributed RESTful text-search engine. It has an amazing set of products:
- Logstash (tons of data inputs)
- Beats
- Filebeat
- Metricbeat
- Packetbeat
- Winlogbeat
- Kibana
- Graph
- Timelion
- X-Pack (premium)
- Alerts
- Reporting
- Security
- Machine Learning
- Cross data center metrics
An ecosystem, built by community, is growing around ELK stack that expands current features, few of them worth mentioning:
- ElastAlert
- Search Guard
From Stack Overflow: asked by James-Jesse Drinkard, answered by Evaldas Buinauskas (CC BY-SA 3.0)
What are anonymous classes?Java
Anonymous classes
Anonymous classes are inner classes with no name. Since they have no name, we can't use them in order to create instances of anonymous classes. As a result, we have to declare and instantiate anonymous classes in a single expression at the point of use. Anonymous classes are defined inside an expression, hence it must be a part of a statement, so the semicolon is used at the end of anonymous classes to indicate the end of the expression.
Anonymous inner class are mainly created in two ways:
- Class (may be abstract or concrete)
- Interface
The anonymous class expression consists of the following:
- The new operator
- The name of an interface to implement or a class to extend.
- Parentheses that contain the arguments to a constructor, just like a normal class instance creation expression. Note: When you implement an interface, there is no constructor, so you use an empty pair of parentheses.
- A body, which is a class declaration body. More specifically, in the body, method declarations are allowed but statements are not.
Restrictions of anonymous classes:
- Cannot have explicitly declared constructors
- Never be abstract
- No way to extend them
Like local classes, anonymous classes can capture variables; they have the same access to local variables of the enclosing scope:
- An anonymous class has access to the members of its enclosing class.
- An anonymous class cannot access local variables in its enclosing scope that are not declared as final or effectively final.
- Like a nested class, a declaration of a type (such as a variable) in an anonymous class shadows any other declarations in the enclosing scope that have the same name.
Anonymous classes also have the same restrictions as local classes with respect to their members:
- Сannot declare static initializers or member interfaces in an anonymous class.
- Сan have static members provided that they are constant variables.
Note that you can declare the following in anonymous classes:
- Fields
- Extra methods (even if they do not implement any methods of the supertype)
- Instance initializers
- Local classes
Links
https://docs.oracle.com/javase/tutorial/java/javaOO/anonymousclasses.html
https://www.geeksforgeeks.org/anonymous-inner-class-java/
https://www.baeldung.com/java-anonymous-classesFrom Android Interview Questions (Apache 2.0)
How does the SQL injection from the "Bobby Tables" XKCD comic work?Security
It drops the students table.
The original code in the school's program probably looks something like
q = "INSERT INTO Students VALUES ('" + FNMName.Text + "', '" + LName.Text + "')";This is the naive way to add text input into a query, and is very bad, as you will see.
After the values from the first name, middle name textbox FNMName.Text (which is
Robert'); DROP TABLE STUDENTS; --) and the last name textbox LName.Text (let's call itDerper) are concatenated with the rest of the query, the result is now actually two queries separated by the statement terminator (semicolon). The second query has been injected into the first. When the code executes this query against the database, it will look like thisINSERT INTO Students VALUES ('Robert'); DROP TABLE Students; --', 'Derper')which, in plain English, roughly translates to the two queries:
Add a new record to the Students table with a Name value of 'Robert'
and
Delete the Students table
Everything past the second query is marked as a comment:
--', 'Derper')The
'in the student's name is not a comment, it's the closing string delimiter. Since the student's name is a string, it's needed syntactically to complete the hypothetical query. Injection attacks only work when the SQL query they inject results in valid SQL.Edited again as per dan04's astute comment
From Stack Overflow: asked by Blankman, answered by user1228 (CC BY-SA 3.0)
What is the difference between Lucene and Elasticsearch?Elasticsearch
Lucene is a Java library. You can include it in your project and refer to its functions using function calls.
Elasticsearch is a JSON Based, Distributed, web server built over Lucene. Though it's Lucene who is doing the actual work beneath, Elasticsearch provides us a convenient layer over Lucene. Each shard that gets created in Elasticsearch is a separate Lucene instance. So to summarize
- Elasticsearch is built over Lucene and provides a JSON based REST API to refer to Lucene features.
- Elasticsearch provides a distributed system on top of Lucene. A distributed system is not something Lucene is aware of or built for. Elasticsearch provides this abstraction of distributed structure.
- Elasticsearch provides other supporting features like thread-pool, queues, node/cluster monitoring API, data monitoring API, Cluster management, etc.
From Stack Overflow: asked by Satish, answered by Vineeth Mohan (CC BY-SA 4.0)
What's the difference between @Component, @Repository & @Service annotations in Spring?Java
From Spring Documentation:
The
@Repositoryannotation is a marker for any class that fulfils the role or stereotype of a repository (also known as Data Access Object or DAO). Among the uses of this marker is the automatic translation of exceptions, as described in Exception Translation.Spring provides further stereotype annotations:
@Component,@Service, and@Controller.@Componentis a generic stereotype for any Spring-managed component.@Repository,@Service, and@Controllerare specializations of@Componentfor more specific use cases (in the persistence, service, and presentation layers, respectively). Therefore, you can annotate your component classes with@Component, but, by annotating them with@Repository,@Service, or@Controllerinstead, your classes are more properly suited for processing by tools or associating with aspects.For example, these stereotype annotations make ideal targets for pointcuts.
@Repository,@Service, and@Controllercan also carry additional semantics in future releases of the Spring Framework. Thus, if you are choosing between using@Componentor@Servicefor your service layer,@Serviceis clearly the better choice. Similarly, as stated earlier,@Repositoryis already supported as a marker for automatic exception translation in your persistence layer.Annotation Meaning @Componentgeneric stereotype for any Spring-managed component @Repositorystereotype for persistence layer @Servicestereotype for service layer @Controllerstereotype for presentation layer (spring-mvc) From Stack Overflow: asked by Colin McCree, answered by stivlo (CC BY-SA 4.0)
What is the STAR method, and how do you use it to answer?Behavioural
Use the STAR method to prepare for interviews and to show your skills and experience on a CV or application form.
What STAR stands for
- Situation - the situation you had to deal with
- Task - the task you were given to do
- Action - the action you took
- Result - what happened as a result of your action and what you learned from the experience
When to use STAR
You can use the STAR method in your:
- CV
- cover letter
- application form - usually in a further information section
- interview
How to use STAR
You can use the STAR method to structure the examples you give to questions, especially in interviews.
A job description lists the skills and qualities the employer is looking for. You can use the STAR method to show how you meet these.
It can help to look at common interview questions when preparing.
When using STAR, remember to:
- use examples that work for you - these could be from work, home or volunteering
- keep examples short and to the point
- try to get your points across in a conversational way so as not to appear too rehearsed
- be prepared to answer follow-up questions about the examples you give
Example 1 - leadership skills
Tell me about a time when you have shown leadership skills.
Situation - in my previous digital marketing job, the company wanted to get more people to sign up to a newsletter which was not receiving a lot of attention.
Task - my job was to find a way of getting more people to sign up.
Action - I organised a meeting with other members of the marketing team to come up with creative ideas, and I led the social media campaign to generate interest in the revamped newsletter.
Result - over a period of 3 months, there was an 25% increase in sign-ups to the newsletter and the approach I took was used by the management team in other departments.
Example 2 - teamwork
Tell me about a time you have worked as part of a team?
Situation - when I was at school, I was part of the netball team. We needed to raise funds to buy more equipment for the team.
Task - my job was to work with the rest of the team to set up a bake sale to raise money.
Action - I took the lead and found out who wanted to help with the bake sale. I then held a meeting so we could work out dates and what tasks each person would do. I made sure that we were all clear what our role was and everyone who wanted to, got a chance to get involved.
Result - the bake sale was a success due to the team all pulling together. We raised £200 and were able to buy new equipment for the netball team.
Example 3 - problem solving
Give me an example of when you faced a problem at work. How did you handle it?
Read the rest at the sourceFrom National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- IT Systems & Security AdministratorZact Inc., Remote in the UK +1Today
- Security Engineer (Mid-Level)Clearscoretechnologylimited, London, hybridToday
- Senior Security EngineerSEON, Remote in the UKToday
- Embedded Threat Intelligence AnalystSibylline Ltd, Remote in the UKToday
More like this: Cyber security jobs in the UK (204)


