Senior Java Engineer - Security - Elasticsearch
SecurityPosted 4 weeks agofrom Elastic's own hiring page
- Work type
- On-siteUnited Kingdom
- Experience
- Not stated
- Pay
- €67k–106k a year
- 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.
Compensation for this role is in the form of base salary. This role does not have a variable compensation component.
At Elastic, our compensation philosophy aims to provide fair, competitive and transparent remuneration. Salary ranges are established based on a combination of external market benchmarks, internal pay equity considerations, and the responsibilities and complexity associated with each role. This approach helps ensure consistency across comparable roles while remaining competitive within the relevant labour markets.
The final compensation offered within the applicable range will be determined based on several objective factors, including relevant professional experience, level of skills and expertise, alignment with the role requirements, and the overall scope and complexity of the position.
The typical starting salary range for this role is:€67.000—€106.000 EURAdditional 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.
elasticsearch match vs term queryElasticsearch
Assuming you are using the Standard Analyzer
GETbecomesgetwhen stored in the index. The source document will still have the original "GET".The
matchquery will apply the same standard analyzer to the search term and will therefore match what is stored in the index. Thetermquery does not apply any analyzers to the search term, so will only look for that exact term in the inverted index.To use the term query in your example, change the upper case "GET" to lower case "get" or change your mapping so the request.method field is set to
not_analyzed.From Stack Overflow: asked by Linlin, answered by Akshay (CC BY-SA 3.0)
Describe List interfaceJava
List interface
A
Listis an orderedCollection(sometimes called a sequence). Lists may contain duplicate elements. In addition to the operations inherited fromCollection, theListinterface includes operations for the following:- Positional access — manipulates elements based on their numerical position in the list. This includes methods such as
get,set,add,addAll, andremove. - Search - searches for a specified object in the list and returns its numerical position. Search methods include
indexOfandlastIndexOf. - Iteration — extends Iterator semantics to take advantage of the list's sequential nature. The listIterator methods provide this behavior.
- Range-view — The
sublistmethod performs arbitrary range operations on the list.
The Java platform contains two general-purpose
Listimplementations.ArrayList, which is usually the better-performing implementation, andLinkedListwhich offers better performance under certain circumstances.Like the
Setinterface,Liststrengthens the requirements on theequalsandhashCodemethods so that twoListobjects can be compared for logical equality without regard to their implementation classes. TwoListobjects are equal if they contain the same elements in the same order.Most used Implementing Classes
- ArrayList. Resizable-array implementation of the
Listinterface. Implements all optional list operations, and permits all elements, includingnull. In addition to implementing theListinterface, this class provides methods to manipulate the size of the array that is used internally to store the list. (This class is roughly equivalent toVector, except that it is unsynchronized.) - LinkedList. Doubly-linked list implementation of the
ListandDequeinterfaces. Implements all optional list operations, and permits all elements (includingnull). All of the operations perform as could be expected for a doubly-linked list. Operations that index into the list will traverse the list from the beginning or the end, whichever is closer to the specified index. - Vector. The
Vectorclass implements a growable array of objects. Like an array, it contains components that can be accessed using an integer index. However, the size of aVectorcan grow or shrink as needed to accommodate adding and removing items after theVectorhas been created. Vectors basically fall in legacy classes but now it is fully compatible with collections. - Stack. The
Stackclass represents a last-in-first-out (LIFO) stack of objects. It extends classVectorwith five operations that allow a vector to be treated as a stack. The usual push and pop operations are provided, as well as a method to peek at the top item on the stack, a method to test for whether the stack is empty, and a method to search the stack for an item and discover how far it is from the top. When a stack is first created, it contains no items.
Iterators
Iteratorreturned by List's iterator operation returns the elements of the list in proper sequence.Listalso provides a richer iterator, called aListIterator, which allows you to traverse the list in either direction, modify the list during iteration, and obtain the current position of the iterator.Read the rest at the sourceFrom Android Interview Questions (Apache 2.0)
- Positional access — manipulates elements based on their numerical position in the list. This includes methods such as
Why is it common to put CSRF prevention tokens in cookies?Security
A good reason, which you have sort of touched on, is that once the CSRF cookie has been received, it is then available for use throughout the application in client script for use in both regular forms and AJAX POSTs. This will make sense in a JavaScript heavy application such as one employed by AngularJS (using AngularJS doesn't require that the application will be a single page app, so it would be useful where state needs to flow between different page requests where the CSRF value cannot normally persist in the browser).
Consider the following scenarios and processes in a typical application for some pros and cons of each approach you describe. These are based on the Synchronizer Token Pattern.
Request Body Approach
- User successfully logs in.
- Server issues auth cookie.
- User clicks to navigate to a form.
- If not yet generated for this session, server generates CSRF token, stores it against the user session and outputs it to a hidden field.
- User submits form.
- Server checks hidden field matches session stored token.
Advantages:
- Simple to implement.
- Works with AJAX.
- Works with forms.
- Cookie can actually be HTTP Only.
Disadvantages:
- All forms must output the hidden field in HTML.
- Any AJAX POSTs must also include the value.
- The page must know in advance that it requires the CSRF token so it can include it in the page content so all pages must contain the token value somewhere, which could make it time consuming to implement for a large site.
Custom HTTP Header (downstream)
- User successfully logs in.
- Server issues auth cookie.
- User clicks to navigate to a form.
- Page loads in browser, then an AJAX request is made to retrieve the CSRF token.
- Server generates CSRF token (if not already generated for session), stores it against the user session and outputs it to a header.
- User submits form (token is sent via hidden field).
- Server checks hidden field matches session stored token.
Advantages:
- Works with AJAX.
- Cookie can be HTTP Only.
Disadvantages:
- Doesn't work without an AJAX request to get the header value.
- All forms must have the value added to its HTML dynamically.
- Any AJAX POSTs must also include the value.
- The page must make an AJAX request first to get the CSRF token, so it will mean an extra round trip each time.
- Might as well have simply output the token to the page which would save the extra request.
Custom HTTP Header (upstream)
- User successfully logs in.
- Server issues auth cookie.
- User clicks to navigate to a form.
- If not yet generated for this session, server generates CSRF token, stores it against the user session and outputs it in the page content somewhere.
- User submits form via AJAX (token is sent via header).
- Server checks custom header matches session stored token.
Advantages:
- Works with AJAX.
- Cookie can be HTTP Only.
Disadvantages:
- Doesn't work with forms.
- All AJAX POSTs must include the header.
Custom HTTP Header (upstream & downstream)
Read the rest at the sourceFrom Stack Overflow: asked by metamatt, answered by SilverlightFox (CC BY-SA 3.0)
Elasticsearch: Difference between "Term", "Match Phrase", and "Query String"Elasticsearch
termquery matches a single term as it is : the value is not analyzed. So, it doesn't have to be lowercased depending on what you have indexed.If you provided
Bennettat index time and the value is not analyzed, the following query won't return anything :{ "query": { "term" : { "user" : "bennett" } } }match_phrasequery will analyze the input if analyzers are defined for the queried field and find documents matching the following criteria:- all the terms must appear in the field
- they must have the same order as the input value
- there must not be any intervening terms, i.e. be consecutive (potentially excluding stop-words but this can be complicated)
For example, if you index the following documents (using
standardanalyzer for the fieldfoo):{ "foo":"I just said hello world" } { "foo":"Hello world" } { "foo":"World Hello" } { "foo":"Hello dear world" }This
match_phrasequery will only return the first and second documents :{ "query": { "match_phrase": { "foo": "Hello World" } } }query_stringquery search, by default, on a _all field which contains the text of several text fields at once. On top of that, it's parsed and supports some operators (AND/OR...), wildcards and so on (see related syntax).As the
match_phrasequeries, the input is analyzed according to the analyzer set on the queried field.Unlike the
match_phrase, the terms obtained after analysis don't have to be in the same order, unless the user has used quotes around the input.For example, using the same documents as before, this query will return all the documents :
{ "query": { "query_string": { "query": "hello World" } } }But this query will return the same 2 documents as the
match_phrasequery :{ "query": { "query_string": { "query": "\"Hello World\"" } } }There is much more to say about the different options for those queries, please take a look at the related documentation :
Hope this is clear enough and it will help.
From Stack Overflow: asked by blee908, answered by ThomasC (CC BY-SA 4.0)
Explain: Method signatureJava
Method signature
Two of the components of a method declaration comprise the method signature - the method's name and the parameter types. The reason for the emphasis on just the method name and parameter list is because of overloading. It's the ability to write methods that have the same name but accept different parameters.
The compiler does not consider return type when differentiating methods, so you cannot declare two methods with the same signature even if they have a different return type.
Links
https://docs.oracle.com/javase/tutorial/java/javaOO/methods.html
http://www.java2s.com/Tutorials/Java/OCA_Java_SE_8_Method_Class/0030__Java_Method_Signature.htmFrom Android Interview Questions (Apache 2.0)
What are your hobbies and interests?Behavioural
Employers will want to get to know you and may ask things like:
- what do you do in your spare time?
- what are your hobbies and interests?
Show what kind of personal qualities, interests and skills you have. For example, you could talk about:
- cooking - to show you're organised and can follow instructions
- travel - to show you're adventurous and flexible
- team sports - to show you're a team player with good communication
- music - to show you're creative
If the job requires certain skills, you should demonstrate these in your examples.
ExampleIf it's a graphic designer role, you could talk about taking a desktop publishing course.
From 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)


