---
title: "org.apache.shiro:shiro-core 3.0.0 Breaking Changes"
description: "What each org.apache.shiro:shiro-core release removed, renamed or changed: 201 breaking changes in 2 versions on Maven Central, each with its source."
canonical_url: https://since.dev/packages/maven/org.apache.shiro:shiro-core
last_updated: 2026-12-04
---

# org.apache.shiro:shiro-core breaking changes

org.apache.shiro:shiro-core 3.0.0 (June 20, 2026) is its newest release with breaking changes, 40 of them. The first: Removed org.apache.shiro.session.mgt.eis.RandomSessionIdGenerator. Every breaking API change we have recorded in org.apache.shiro:shiro-core on Maven Central: 201 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.0.2`, released November 8, 2026. [Source repository](https://github.com/apache/shiro)

Packages on Maven Central run on Java. [Java end of life dates](https://since.dev/calendar/eclipse-temurin.md).

- From [2.0.0](#v-2-0-0) to [3.0.0](#v-3-0-0): 40 breaking changes in 1 version.

## org.apache.shiro:shiro-core 3.0.0 breaking changes

org.apache.shiro:shiro-core 3.0.0, released June 20, 2026: 40 breaking changes.

- **Removed** `org.apache.shiro.session.mgt.eis.RandomSessionIdGenerator`  

org.apache.shiro.session.mgt.eis.RandomSessionIdGenerator was removed in org.apache.shiro:shiro-core 3.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Removed** `org.apache.shiro.session.mgt.SimpleSession.setHost`  

SimpleSession.setHost was removed in org.apache.shiro:shiro-core 3.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Removed** `org.apache.shiro.session.mgt.SimpleSession.setStartTimestamp`  

SimpleSession.setStartTimestamp was removed in org.apache.shiro:shiro-core 3.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Removed** `org.apache.shiro.session.mgt.SimpleSession.setStopTimestamp`  

SimpleSession.setStopTimestamp was removed in org.apache.shiro:shiro-core 3.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Removed** `org.apache.shiro.util.JavaEnvironment`  

org.apache.shiro.util.JavaEnvironment was removed in org.apache.shiro:shiro-core 3.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.authc.AbstractAuthenticator`  

Was abstract class AbstractAuthenticator implements org.apache.shiro.authc.Authenticator, org.apache.shiro.authc.LogoutAware; now abstract class AbstractAuthenticator implements org.apache.shiro.authc.Authenticator... [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.authc.MergableAuthenticationInfo.merge`  

Was void merge(org.apache.shiro.authc.AuthenticationInfo); now org.apache.shiro.authc.AuthenticationInfo merge(org.apache.shiro.authc.AuthenticationInfo). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.authc.pam.AuthenticationStrategy`  

Was interface AuthenticationStrategy; now interface AuthenticationStrategy extends org.apache.shiro.event.EventBusAware. [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.authc.SimpleAccount.<init>`  

Was SimpleAccount(java.util.Collection, Object, String) SimpleAccount(java.util.Collection, Object, String, java.util.Set\<String>, java.util.Set\<org.apache.shiro.authz.Permission>); now SimpleAccount(java.util.Collection\<?>, Object... [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.jndi.JndiLocator.lookup`  

Was protected Object lookup(String, Class); now protected Object lookup(String, Class\<?>). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.jndi.JndiObjectFactory.lookup`  

Was protected Object lookup(String, Class); now protected Object lookup(String, Class\<?>). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.jndi.JndiTemplate.lookup`  

Was Object lookup(String, Class); now Object lookup(String, Class\<?>). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.mgt.AbstractRememberMeManager.deserialize`  

Was protected org.apache.shiro.subject.PrincipalCollection deserialize(byte\[\]); now protected org.apache.shiro.mgt.AbstractRememberMeManager.RememberedIdentity deserialize(byte\[\]). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.mgt.AbstractRememberMeManager.getSerializer`  

Was org.apache.shiro.lang.io.Serializer\<org.apache.shiro.subject.PrincipalCollection> getSerializer(); now org.apache.shiro.lang.io.Serializer\<org.apache.shiro.mgt.AbstractRememberMeManager.RememberedIdentity> getSerializer(). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.mgt.AbstractRememberMeManager.serialize`  

Was protected byte\[\] serialize(org.apache.shiro.subject.PrincipalCollection); now protected byte\[\] serialize(org.apache.shiro.mgt.AbstractRememberMeManager.RememberedIdentity). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.mgt.AbstractRememberMeManager.setSerializer`  

Was void setSerializer(org.apache.shiro.lang.io.Serializer\<org.apache.shiro.subject.PrincipalCollection>); now void setSerializer(org.apache.shiro.lang.io.Serializer\<org.apache.shiro.mgt.AbstractRememberMeManager.RememberedIdentity>). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.realm.ldap.JndiLdapContextFactory.createLdapContext`  

Was protected javax.naming.ldap.LdapContext createLdapContext(java.util.Hashtable); now protected javax.naming.ldap.LdapContext createLdapContext(java.util.Hashtable\<String, Object>). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.realm.ldap.JndiLdapContextFactory.getEnvironment`  

Was java.util.Map getEnvironment(); now java.util.Map\<String, Object> getEnvironment(). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.realm.ldap.JndiLdapContextFactory.setEnvironment`  

Was void setEnvironment(java.util.Map); now void setEnvironment(java.util.Map\<String, Object>). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.realm.ldap.LdapUtils.closeEnumeration`  

Was static void closeEnumeration(javax.naming.NamingEnumeration); now static void closeEnumeration(javax.naming.NamingEnumeration\<?>). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.subject.MutablePrincipalCollection.addAll`  

Was void addAll(java.util.Collection, String); now void addAll(java.util.Collection\<?>, String). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.subject.MutablePrincipalCollection.asList`  

Was java.util.List asList(); now java.util.List\<?> asList(). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.subject.MutablePrincipalCollection.asSet`  

Was java.util.Set asSet(); now java.util.Set\<?> asSet(). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.subject.MutablePrincipalCollection.fromRealm`  

Was java.util.Collection fromRealm(String); now java.util.Collection\<?> fromRealm(String). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.subject.PrincipalCollection`  

Was interface PrincipalCollection extends Iterable, java.io.Serializable; now interface PrincipalCollection extends Iterable\<Object>, java.io.Serializable. [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.subject.PrincipalCollection.asList`  

Was java.util.List asList(); now java.util.List\<?> asList(). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.subject.PrincipalCollection.asSet`  

Was java.util.Set asSet(); now java.util.Set\<?> asSet(). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.subject.PrincipalCollection.fromRealm`  

Was java.util.Collection fromRealm(String); now java.util.Collection\<?> fromRealm(String). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.subject.SimplePrincipalCollection.<init>`  

Was SimplePrincipalCollection(java.util.Collection, String); now SimplePrincipalCollection(java.util.Collection\<?>, String). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.subject.SimplePrincipalCollection.asList`  

Was java.util.List asList(); now java.util.List\<Object> asList(). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.subject.SimplePrincipalCollection.asSet`  

Was java.util.Set asSet(); now java.util.Set\<Object> asSet(). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.subject.SimplePrincipalCollection.fromRealm`  

Was java.util.Collection fromRealm(String); now java.util.Collection\<Object> fromRealm(String). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.subject.SimplePrincipalCollection.getPrincipalsLazy`  

Was protected java.util.Collection getPrincipalsLazy(String); now protected java.util.Collection\<Object> getPrincipalsLazy(String). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.subject.SimplePrincipalCollection.iterator`  

Was java.util.Iterator iterator(); now java.util.Iterator\<Object> iterator(). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.subject.support.SubjectCallable.<init>`  

Was protected SubjectCallable(org.apache.shiro.util.ThreadState, java.util.concurrent.Callable\<V>); now protected SubjectCallable(org.apache.shiro.subject.Subject, org.apache.shiro.util.ThreadState, java.util.concurrent.Callable\<V>). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.subject.support.SubjectCallable.doCall`  

Was protected V doCall(java.util.concurrent.Callable\<V>); now V doCall(java.util.concurrent.Callable\<V>). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.subject.support.SubjectRunnable.<init>`  

Was protected SubjectRunnable(org.apache.shiro.util.ThreadState, Runnable); now protected SubjectRunnable(org.apache.shiro.subject.Subject, org.apache.shiro.util.ThreadState, Runnable). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.subject.support.SubjectRunnable.doRun`  

Was protected void doRun(Runnable); now void doRun(Runnable). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.util.CollectionUtils.isEmpty`  

Was static boolean isEmpty(java.util.Collection) static boolean isEmpty(java.util.Map); now static boolean isEmpty(java.util.Collection\<?>) static boolean isEmpty(java.util.Map\<?, ?>). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)
- **Signature changed** `org.apache.shiro.util.CollectionUtils.size`  

Was static int size(java.util.Collection) static int size(java.util.Map); now static int size(java.util.Collection\<?>) static int size(java.util.Map\<?, ?>). [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/3.0.0)

## org.apache.shiro:shiro-core 2.0.0 breaking changes

org.apache.shiro:shiro-core 2.0.0, released February 20, 2024: 161 breaking changes.

- **Removed** `org.apache.shiro.authc.credential.DefaultPasswordService.buildHashRequest`  

DefaultPasswordService.buildHashRequest was removed in org.apache.shiro:shiro-core 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/2.0.0)
- **Removed** `org.apache.shiro.authc.credential.DefaultPasswordService.DEFAULT_HASH_ITERATIONS`  

org.apache.shiro.authc.credential.DefaultPasswordService.DEFAULT_HASH_ITERATIONS was removed in org.apache.shiro:shiro-core 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/2.0.0)
- **Removed** `org.apache.shiro.authc.credential.Md2CredentialsMatcher`  

org.apache.shiro.authc.credential.Md2CredentialsMatcher was removed in org.apache.shiro:shiro-core 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/2.0.0)
- **Removed** `org.apache.shiro.authc.credential.Md5CredentialsMatcher`  

org.apache.shiro.authc.credential.Md5CredentialsMatcher was removed in org.apache.shiro:shiro-core 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/2.0.0)
- **Removed** `org.apache.shiro.authc.credential.Sha1CredentialsMatcher`  

org.apache.shiro.authc.credential.Sha1CredentialsMatcher was removed in org.apache.shiro:shiro-core 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/2.0.0)
- **Removed** `org.apache.shiro.authc.credential.SimpleCredentialsMatcher.isByteSource`  

SimpleCredentialsMatcher.isByteSource was removed in org.apache.shiro:shiro-core 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/2.0.0)
- **Removed** `org.apache.shiro.authc.credential.SimpleCredentialsMatcher.objectToBytes`  

SimpleCredentialsMatcher.objectToBytes was removed in org.apache.shiro:shiro-core 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/2.0.0)
- **Removed** `org.apache.shiro.authc.credential.SimpleCredentialsMatcher.objectToString`  

SimpleCredentialsMatcher.objectToString was removed in org.apache.shiro:shiro-core 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/2.0.0)
- **Removed** `org.apache.shiro.authc.credential.SimpleCredentialsMatcher.PREFERRED_ENCODING`  

org.apache.shiro.authc.credential.SimpleCredentialsMatcher.PREFERRED_ENCODING was removed in org.apache.shiro:shiro-core 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/2.0.0)
- **Removed** `org.apache.shiro.authc.credential.SimpleCredentialsMatcher.toBytes`  

SimpleCredentialsMatcher.toBytes was removed in org.apache.shiro:shiro-core 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.apache.shiro/shiro-core/2.0.0)

And 151 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [org.apache.shiro:shiro-spring](https://since.dev/packages/maven/org.apache.shiro:shiro-spring.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
