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
On this page
Latest version 3.0.2, released November 8, 2026. Source repository
Packages on Maven Central run on Java. Java end of life dates.
org.apache.shiro:shiro-core 3.0.0 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 - Removed
org.apache.shiro.session.mgt.SimpleSession.setHost
SimpleSession.setHost was removed in org.apache.shiro:shiro-core 3.0.0 central.sonatype.com - Removed
org.apache.shiro.session.mgt.SimpleSession.setStartTimestamp
SimpleSession.setStartTimestamp was removed in org.apache.shiro:shiro-core 3.0.0 central.sonatype.com - Removed
org.apache.shiro.session.mgt.SimpleSession.setStopTimestamp
SimpleSession.setStopTimestamp was removed in org.apache.shiro:shiro-core 3.0.0 central.sonatype.com - 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 - 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 - 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 - Signature changed
org.apache.shiro.authc.pam.AuthenticationStrategy
Was interface AuthenticationStrategy; now interface AuthenticationStrategy extends org.apache.shiro.event.EventBusAware. central.sonatype.com - 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 - Signature changed
org.apache.shiro.jndi.JndiLocator.lookup
Was protected Object lookup(String, Class); now protected Object lookup(String, Class<?>). central.sonatype.com - Signature changed
org.apache.shiro.jndi.JndiObjectFactory.lookup
Was protected Object lookup(String, Class); now protected Object lookup(String, Class<?>). central.sonatype.com - Signature changed
org.apache.shiro.jndi.JndiTemplate.lookup
Was Object lookup(String, Class); now Object lookup(String, Class<?>). central.sonatype.com - 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 - 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 - 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 - 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 - 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 - Signature changed
org.apache.shiro.realm.ldap.JndiLdapContextFactory.getEnvironment
Was java.util.Map getEnvironment(); now java.util.Map<String, Object> getEnvironment(). central.sonatype.com - 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 - 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 - 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 - Signature changed
org.apache.shiro.subject.MutablePrincipalCollection.asList
Was java.util.List asList(); now java.util.List<?> asList(). central.sonatype.com - Signature changed
org.apache.shiro.subject.MutablePrincipalCollection.asSet
Was java.util.Set asSet(); now java.util.Set<?> asSet(). central.sonatype.com - Signature changed
org.apache.shiro.subject.MutablePrincipalCollection.fromRealm
Was java.util.Collection fromRealm(String); now java.util.Collection<?> fromRealm(String). central.sonatype.com - 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 - Signature changed
org.apache.shiro.subject.PrincipalCollection.asList
Was java.util.List asList(); now java.util.List<?> asList(). central.sonatype.com - Signature changed
org.apache.shiro.subject.PrincipalCollection.asSet
Was java.util.Set asSet(); now java.util.Set<?> asSet(). central.sonatype.com - Signature changed
org.apache.shiro.subject.PrincipalCollection.fromRealm
Was java.util.Collection fromRealm(String); now java.util.Collection<?> fromRealm(String). central.sonatype.com - Signature changed
org.apache.shiro.subject.SimplePrincipalCollection.<init>
Was SimplePrincipalCollection(java.util.Collection, String); now SimplePrincipalCollection(java.util.Collection<?>, String). central.sonatype.com - Signature changed
org.apache.shiro.subject.SimplePrincipalCollection.asList
Was java.util.List asList(); now java.util.List<Object> asList(). central.sonatype.com - Signature changed
org.apache.shiro.subject.SimplePrincipalCollection.asSet
Was java.util.Set asSet(); now java.util.Set<Object> asSet(). central.sonatype.com - Signature changed
org.apache.shiro.subject.SimplePrincipalCollection.fromRealm
Was java.util.Collection fromRealm(String); now java.util.Collection<Object> fromRealm(String). central.sonatype.com - 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 - Signature changed
org.apache.shiro.subject.SimplePrincipalCollection.iterator
Was java.util.Iterator iterator(); now java.util.Iterator<Object> iterator(). central.sonatype.com - 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 - 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 - 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 - Signature changed
org.apache.shiro.subject.support.SubjectRunnable.doRun
Was protected void doRun(Runnable); now void doRun(Runnable). central.sonatype.com - 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 - 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
org.apache.shiro:shiro-core 2.0.0 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 - 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 - 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 - 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 - 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 - Removed
org.apache.shiro.authc.credential.SimpleCredentialsMatcher.isByteSource
SimpleCredentialsMatcher.isByteSource was removed in org.apache.shiro:shiro-core 2.0.0 central.sonatype.com - Removed
org.apache.shiro.authc.credential.SimpleCredentialsMatcher.objectToBytes
SimpleCredentialsMatcher.objectToBytes was removed in org.apache.shiro:shiro-core 2.0.0 central.sonatype.com - Removed
org.apache.shiro.authc.credential.SimpleCredentialsMatcher.objectToString
SimpleCredentialsMatcher.objectToString was removed in org.apache.shiro:shiro-core 2.0.0 central.sonatype.com - 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 - Removed
org.apache.shiro.authc.credential.SimpleCredentialsMatcher.toBytes
SimpleCredentialsMatcher.toBytes was removed in org.apache.shiro:shiro-core 2.0.0 central.sonatype.com
And 151 more in this version. Sign up to see every change
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.