diff --git a/adapters/saml/core/src/main/java/org/keycloak/adapters/saml/PropertiesBasedRoleMapper.java b/adapters/saml/core/src/main/java/org/keycloak/adapters/saml/PropertiesBasedRoleMapper.java index 8848598d770..3a76a1743e6 100644 --- a/adapters/saml/core/src/main/java/org/keycloak/adapters/saml/PropertiesBasedRoleMapper.java +++ b/adapters/saml/core/src/main/java/org/keycloak/adapters/saml/PropertiesBasedRoleMapper.java @@ -60,7 +60,7 @@ import org.keycloak.adapters.saml.config.parsers.ResourceLoader; * The {@code properties} file can contain both roles and principals as keys, and a list of zero or more roles separated by comma * as values. When the {@code {@link #map(String, Set)}} method is called, the implementation iterates through the set of roles * that were extracted from the assertion and checks, for eache role, if a mapping exists. If the role maps to an empty role, - * it is discarded. If it maps to a set of one ore more different roles, then these roles are set in the result set. If no + * it is discarded. If it maps to a set of one or more different roles, then these roles are set in the result set. If no * mapping is found for the role then it is included as is in the result set. * * Once the roles have been processed, the implementation checks if the principal extracted from the assertion contains an entry diff --git a/adapters/saml/core/src/main/java/org/keycloak/adapters/saml/SamlDeployment.java b/adapters/saml/core/src/main/java/org/keycloak/adapters/saml/SamlDeployment.java index 5aeee06d26b..e48b47621d5 100755 --- a/adapters/saml/core/src/main/java/org/keycloak/adapters/saml/SamlDeployment.java +++ b/adapters/saml/core/src/main/java/org/keycloak/adapters/saml/SamlDeployment.java @@ -94,19 +94,19 @@ public interface SamlDeployment { public interface SingleSignOnService { /** * Returns {@code true} if the requests to IdP need to be signed by SP key. - * @return see dscription + * @return see description */ boolean signRequest(); /** * Returns {@code true} if the complete response message from IdP should * be checked for valid signature. - * @return see dscription + * @return see description */ boolean validateResponseSignature(); /** * Returns {@code true} if individual assertions in response from IdP should * be checked for valid signature. - * @return see dscription + * @return see description */ boolean validateAssertionSignature(); Binding getRequestBinding(); diff --git a/common/src/main/java/org/keycloak/common/util/Base64.java b/common/src/main/java/org/keycloak/common/util/Base64.java index 3840d688fc8..ddd7cc986d2 100644 --- a/common/src/main/java/org/keycloak/common/util/Base64.java +++ b/common/src/main/java/org/keycloak/common/util/Base64.java @@ -1012,7 +1012,7 @@ public class Base64 * anywhere along their length by specifying * srcOffset and destOffset. * This method does not check to make sure your arrays - * are large enough to accomodate srcOffset + 4 for + * are large enough to accommodate srcOffset + 4 for * the source array or destOffset + 3 for * the destination array. * This method returns the actual number of bytes that diff --git a/common/src/main/java/org/keycloak/common/util/Encode.java b/common/src/main/java/org/keycloak/common/util/Encode.java index 682d29fedaa..73b87025536 100755 --- a/common/src/main/java/org/keycloak/common/util/Encode.java +++ b/common/src/main/java/org/keycloak/common/util/Encode.java @@ -405,7 +405,7 @@ public class Encode } /** - * Encode via RFC 3986. PCHAR is allowed allong with '/' + * Encode via RFC 3986. PCHAR is allowed along with '/' *
* unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" * sub-delims = "!" / "$" / "&" / "'" / "(" / ")" @@ -431,7 +431,7 @@ public class Encode } /** - * Encode via RFC 3986. PCHAR is allowed allong with '/' + * Encode via RFC 3986. PCHAR is allowed along with '/' * * unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" * sub-delims = "!" / "$" / "&" / "'" / "(" / ")" diff --git a/common/src/main/java/org/keycloak/common/util/NetworkUtils.java b/common/src/main/java/org/keycloak/common/util/NetworkUtils.java index 989bc594425..5889556a934 100644 --- a/common/src/main/java/org/keycloak/common/util/NetworkUtils.java +++ b/common/src/main/java/org/keycloak/common/util/NetworkUtils.java @@ -57,11 +57,11 @@ public class NetworkUtils { } /** - *Convert IPv6 adress into RFC 5952 form. + *
Convert IPv6 address into RFC 5952 form. * E.g. 2001:db8:0:1:0:0:0:1 -> 2001:db8:0:1::1
* *Method is null safe, and if IPv4 address or host name is passed to the - * method it is returned wihout any processing.
+ * method it is returned without any processing. * *Method also supports IPv4 in IPv6 (e.g. 0:0:0:0:0:ffff:192.0.2.1 -> * ::ffff:192.0.2.1), and zone ID (e.g. fe80:0:0:0:f0f0:c0c0:1919:1234%4 diff --git a/common/src/main/java/org/keycloak/common/util/StringPropertyReplacer.java b/common/src/main/java/org/keycloak/common/util/StringPropertyReplacer.java index 8e44ba6f90c..e4c8adfc4da 100755 --- a/common/src/main/java/org/keycloak/common/util/StringPropertyReplacer.java +++ b/common/src/main/java/org/keycloak/common/util/StringPropertyReplacer.java @@ -54,7 +54,7 @@ public final class StringPropertyReplacer private static final Properties systemEnvProperties = new SystemEnvProperties(); /** - * Go through the input string and replace any occurance of ${p} with + * Go through the input string and replace any occurrence of ${p} with * the System.getProperty(p) value. If there is no such property p defined, * then the ${p} reference will remain unchanged. * @@ -78,7 +78,7 @@ public final class StringPropertyReplacer } /** - * Go through the input string and replace any occurance of ${p} with + * Go through the input string and replace any occurrence of ${p} with * the props.getProperty(p) value. If there is no such property p defined, * then the ${p} reference will remain unchanged. * diff --git a/common/src/main/java/org/keycloak/common/util/reflections/Reflections.java b/common/src/main/java/org/keycloak/common/util/reflections/Reflections.java index c2131e83d2e..000793f1f9c 100644 --- a/common/src/main/java/org/keycloak/common/util/reflections/Reflections.java +++ b/common/src/main/java/org/keycloak/common/util/reflections/Reflections.java @@ -705,12 +705,12 @@ public class Reflections { } /** - * Check the assignability of one type to another, taking into account the actual type arguements + * Check the assignability of one type to another, taking into account the actual type arguments * * @param rawType1 the raw type of the class to check - * @param actualTypeArguments1 the actual type arguements to check, or an empty array if not a parameterized type + * @param actualTypeArguments1 the actual type arguments to check, or an empty array if not a parameterized type * @param rawType2 the raw type of the class to check - * @param actualTypeArguments2 the actual type arguements to check, or an empty array if not a parameterized type + * @param actualTypeArguments2 the actual type arguments to check, or an empty array if not a parameterized type * * @return */ @@ -1048,4 +1048,4 @@ public class Reflections { return Object.class; } -} \ No newline at end of file +} diff --git a/core/src/main/java/org/keycloak/jose/jwk/JWKUtil.java b/core/src/main/java/org/keycloak/jose/jwk/JWKUtil.java index 2b0eaf00818..09ac4b394d8 100644 --- a/core/src/main/java/org/keycloak/jose/jwk/JWKUtil.java +++ b/core/src/main/java/org/keycloak/jose/jwk/JWKUtil.java @@ -23,7 +23,7 @@ import java.util.Arrays; public class JWKUtil { /** - * Coverts {@code BigInteger} to 64-byte array removing the sign byte if + * Converts {@code BigInteger} to 64-byte array removing the sign byte if * necessary. * * @param bigInt {@code BigInteger} to be converted @@ -34,7 +34,7 @@ public class JWKUtil { } /** - * Coverts {@code BigInteger} to 64-byte array but maintaining the length + * Converts {@code BigInteger} to 64-byte array but maintaining the length * to bitlen as specified in rfc7518 for certain fields (X and Y parameter * for EC keys). * diff --git a/core/src/main/java/org/keycloak/sdjwt/SdJwt.java b/core/src/main/java/org/keycloak/sdjwt/SdJwt.java index d68c283e417..dbf615ce286 100644 --- a/core/src/main/java/org/keycloak/sdjwt/SdJwt.java +++ b/core/src/main/java/org/keycloak/sdjwt/SdJwt.java @@ -77,7 +77,7 @@ public class SdJwt { /** * Prepare to a nested payload to this SD-JWT. *
- * droping the algo claim.
+ * dropping the algo claim.
*
* @param nestedSdJwt
* @return
diff --git a/core/src/test/java/org/keycloak/sdjwt/sdjwtvp/TestCompareSdJwt.java b/core/src/test/java/org/keycloak/sdjwt/sdjwtvp/TestCompareSdJwt.java
index 1e2788a612b..755c0f754ee 100644
--- a/core/src/test/java/org/keycloak/sdjwt/sdjwtvp/TestCompareSdJwt.java
+++ b/core/src/test/java/org/keycloak/sdjwt/sdjwtvp/TestCompareSdJwt.java
@@ -48,7 +48,7 @@ import com.fasterxml.jackson.databind.JsonNode;
*
* Warning: in orther to produce the same disclosure strings and hashes like in
* the spect, i had to produce
- * the same print. This is by no way reliable enougth to be used to test
+ * the same print. This is by no way reliable enough to be used to test
* conformity to the spec.
*
* @author Francis Pouatcha
diff --git a/federation/ldap/src/main/java/org/keycloak/storage/ldap/LDAPStorageProvider.java b/federation/ldap/src/main/java/org/keycloak/storage/ldap/LDAPStorageProvider.java
index f975da54b78..4af25437d51 100755
--- a/federation/ldap/src/main/java/org/keycloak/storage/ldap/LDAPStorageProvider.java
+++ b/federation/ldap/src/main/java/org/keycloak/storage/ldap/LDAPStorageProvider.java
@@ -953,7 +953,7 @@ public class LDAPStorageProvider implements UserStorageProvider,
*
* @param realm realm
* @param kerberosPrincipal kerberos principal of the authenticated user
- * @return finded or newly created user
+ * @return found or newly created user
*/
protected UserModel findOrCreateAuthenticatedUser(RealmModel realm, KerberosPrincipal kerberosPrincipal) {
String kerberosPrincipalAttrName = kerberosConfig.getKerberosPrincipalAttribute();
diff --git a/federation/ldap/src/main/java/org/keycloak/storage/ldap/LDAPUtils.java b/federation/ldap/src/main/java/org/keycloak/storage/ldap/LDAPUtils.java
index 754bf6fc4b2..17a582f4599 100755
--- a/federation/ldap/src/main/java/org/keycloak/storage/ldap/LDAPUtils.java
+++ b/federation/ldap/src/main/java/org/keycloak/storage/ldap/LDAPUtils.java
@@ -62,7 +62,7 @@ public class LDAPUtils {
private static final Logger log = Logger.getLogger(LDAPUtils.class);
/**
- * Method to crate a user in the LDAP. The user will be created when all
+ * Method to create a user in the LDAP. The user will be created when all
* mandatory attributes specified by the mappers are set. The method
* onRegisterUserToLDAP is first called in each mapper to set any default or
* initial value.
diff --git a/federation/sssd/src/main/java/org/freedesktop/dbus/connections/impl/BaseConnectionBuilder.java b/federation/sssd/src/main/java/org/freedesktop/dbus/connections/impl/BaseConnectionBuilder.java
index 44eee0701f5..af60f895e38 100644
--- a/federation/sssd/src/main/java/org/freedesktop/dbus/connections/impl/BaseConnectionBuilder.java
+++ b/federation/sssd/src/main/java/org/freedesktop/dbus/connections/impl/BaseConnectionBuilder.java
@@ -160,8 +160,8 @@ public abstract class BaseConnectionBuilder
@@ -469,7 +469,7 @@ public final class DBusConnection extends AbstractConnection { * Return a reference to a remote object. This method will always refer to the well known name (if given) rather * than resolving it to a unique bus name. In particular this means that if a process providing the well known name * disappears and is taken over by another process proxy objects gained by this method will make calls on the new - * proccess. + * process. * * This method will use bus introspection to determine the interfaces on a remote object and so may block and * may fail. The resulting proxy object will, however, be castable to any interface it implements. It will @@ -551,7 +551,7 @@ public final class DBusConnection extends AbstractConnection { * Return a reference to a remote object. This method will always refer to the well known name (if given) rather * than resolving it to a unique bus name. In particular this means that if a process providing the well known name * disappears and is taken over by another process proxy objects gained by this method will make calls on the new - * proccess. + * process. * * @param * class extending {@link DBusInterface} @@ -578,7 +578,7 @@ public final class DBusConnection extends AbstractConnection { * Return a reference to a remote object. This method will always refer to the well known name (if given) rather * than resolving it to a unique bus name. In particular this means that if a process providing the well known name * disappears and is taken over by another process proxy objects gained by this method will make calls on the new - * proccess. + * process. * * @param * class extending {@link DBusInterface} diff --git a/federation/sssd/src/main/java/org/freedesktop/dbus/interfaces/DBus.java b/federation/sssd/src/main/java/org/freedesktop/dbus/interfaces/DBus.java index 1bb1adfc2f9..6e8cb53982c 100644 --- a/federation/sssd/src/main/java/org/freedesktop/dbus/interfaces/DBus.java +++ b/federation/sssd/src/main/java/org/freedesktop/dbus/interfaces/DBus.java @@ -107,7 +107,7 @@ public interface DBus extends DBusInterface { UInt32 GetConnectionUnixUser(String _connectionName); /** - * Returns the proccess ID associated with a connection. + * Returns the process ID associated with a connection. * @param _connectionName The name of the connection * @return The PID of the connection. */ diff --git a/federation/sssd/src/main/java/org/freedesktop/dbus/messages/MethodCall.java b/federation/sssd/src/main/java/org/freedesktop/dbus/messages/MethodCall.java index bf18383698f..ef1eb16d972 100644 --- a/federation/sssd/src/main/java/org/freedesktop/dbus/messages/MethodCall.java +++ b/federation/sssd/src/main/java/org/freedesktop/dbus/messages/MethodCall.java @@ -74,7 +74,7 @@ public class MethodCall extends MethodBase { } /** - * Block (if neccessary) for a reply. + * Block (if necessary) for a reply. * @return The reply to this MethodCall, or null if a timeout happens. * @param _timeout The length of time to block before timing out (ms). */ @@ -93,7 +93,7 @@ public class MethodCall extends MethodBase { } /** - * Block (if neccessary) for a reply. + * Block (if necessary) for a reply. * Default timeout is 20s, or can be configured with setDefaultTimeout() * @return The reply to this MethodCall, or null if a timeout happens. */ diff --git a/federation/sssd/src/main/java/org/freedesktop/dbus/utils/XmlUtil.java b/federation/sssd/src/main/java/org/freedesktop/dbus/utils/XmlUtil.java index 258e9f375b8..4d62d022d48 100644 --- a/federation/sssd/src/main/java/org/freedesktop/dbus/utils/XmlUtil.java +++ b/federation/sssd/src/main/java/org/freedesktop/dbus/utils/XmlUtil.java @@ -66,7 +66,7 @@ public final class XmlUtil { } /** - * Applys a xpathExpression to a xml-Document and return a {@link NodeList} with the results. + * Applies a xpathExpression to a xml-Document and return a {@link NodeList} with the results. * * @param _xpathExpression xpath expression * @param _xmlDocumentOrNode document or node diff --git a/federation/sssd/src/main/java/org/jvnet/libpam/PAM.java b/federation/sssd/src/main/java/org/jvnet/libpam/PAM.java index 9dbbb9ad2d1..cc8761fa62e 100644 --- a/federation/sssd/src/main/java/org/jvnet/libpam/PAM.java +++ b/federation/sssd/src/main/java/org/jvnet/libpam/PAM.java @@ -47,7 +47,7 @@ import static org.jvnet.libpam.impl.PAMLibrary.libpam; * PAM authenticator. *
*
- * Instances are thread unsafe and non reentrant. An instace cannot be reused + * Instances are thread unsafe and non reentrant. An instance cannot be reused * to authenticate multiple users. *
*
diff --git a/federation/sssd/src/main/java/org/jvnet/libpam/impl/PAMLibrary.java b/federation/sssd/src/main/java/org/jvnet/libpam/impl/PAMLibrary.java index f2a16114c09..e40eb68af70 100644 --- a/federation/sssd/src/main/java/org/jvnet/libpam/impl/PAMLibrary.java +++ b/federation/sssd/src/main/java/org/jvnet/libpam/impl/PAMLibrary.java @@ -74,7 +74,7 @@ public interface PAMLibrary extends Library { class pam_response extends Structure { /** * This is really a string, but this field needs to be malloc-ed by the conversation - * method, and to be freed by the caler, so I bind it to {@link Pointer} here. + * method, and to be freed by the caller, so I bind it to {@link Pointer} here. *
* The man page doesn't say that, but see * http://www.netbsd.org/docs/guide/en/chap-pam.html#pam-sample-conv diff --git a/integration/admin-client-jee/src/main/java/org/keycloak/admin/client/resource/UsersResource.java b/integration/admin-client-jee/src/main/java/org/keycloak/admin/client/resource/UsersResource.java index 87cef2d7ae6..c0fb2f908b0 100755 --- a/integration/admin-client-jee/src/main/java/org/keycloak/admin/client/resource/UsersResource.java +++ b/integration/admin-client-jee/src/main/java/org/keycloak/admin/client/resource/UsersResource.java @@ -181,7 +181,7 @@ public interface UsersResource { * * @param search the value to search. It can be the username, email or any of the supported options to query based on user attributes * @param firstResult the position of the first result to retrieve - * @param maxResults the maximum number of results to retreive + * @param maxResults the maximum number of results to retrieve * @return a list of {@link UserRepresentation} */ @GET @@ -200,7 +200,7 @@ public interface UsersResource { * * @param search the value to search. It can be the username, email or any of the supported options to query based on user attributes * @param firstResult the position of the first result to retrieve - * @param maxResults the maximum number of results to retreive + * @param maxResults the maximum number of results to retrieve * @param briefRepresentation Only return basic information (only guaranteed to return id, username, created, first and last name, * email, enabled state, email verification state, federation link, and access. * Note that it means that namely user attributes, required actions, and not before are not returned.) diff --git a/model/infinispan/src/main/java/org/keycloak/models/cache/infinispan/RealmCacheSession.java b/model/infinispan/src/main/java/org/keycloak/models/cache/infinispan/RealmCacheSession.java index 82736363101..01aa70cd269 100755 --- a/model/infinispan/src/main/java/org/keycloak/models/cache/infinispan/RealmCacheSession.java +++ b/model/infinispan/src/main/java/org/keycloak/models/cache/infinispan/RealmCacheSession.java @@ -64,7 +64,7 @@ import java.util.stream.Stream; * ClientList caches: * - lists of clients are cached in a specific cache entry i.e. realm clients, find client by clientId * - realm client lists need to be invalidated and evited whenever a client is added or removed from a realm. RealmProvider - * now has addClient/removeClient at its top level. All adapaters should use these methods so that the appropriate invalidations + * now has addClient/removeClient at its top level. All adapters should use these methods so that the appropriate invalidations * can be registered. * - whenever a client is added/removed the realm of the client is added to a listInvalidations set * this set must be checked before sending back or caching a cached query. This check is required to @@ -83,7 +83,7 @@ import java.util.stream.Stream; * DBs with Repeatable Read: * - DBs like MySQL are Repeatable Read by default. So, if you query a Client for instance, it will always return the same result in the same transaction even if the DB * was updated in between these queries. This makes it possible to store stale cache entries. To avoid this problem, this class stores the current local version counter - * at the beginningof the transaction. Whenever an entry is added to the cache, the current coutner is compared against the counter at the beginning of the tx. If the current + * at the beginning of the transaction. Whenever an entry is added to the cache, the current counter is compared against the counter at the beginning of the tx. If the current * is greater, then don't cache. * * Groups and Roles: diff --git a/model/infinispan/src/main/java/org/keycloak/models/cache/infinispan/entities/AbstractExtendableRevisioned.java b/model/infinispan/src/main/java/org/keycloak/models/cache/infinispan/entities/AbstractExtendableRevisioned.java index 99407328412..be26a28ceb7 100644 --- a/model/infinispan/src/main/java/org/keycloak/models/cache/infinispan/entities/AbstractExtendableRevisioned.java +++ b/model/infinispan/src/main/java/org/keycloak/models/cache/infinispan/entities/AbstractExtendableRevisioned.java @@ -30,7 +30,7 @@ public abstract class AbstractExtendableRevisioned extends AbstractRevisioned { } /** - * Cache things along with this cachable object + * Cache things along with this cacheable object * * @return */ diff --git a/model/storage/src/main/java/org/keycloak/storage/adapter/AbstractUserAdapter.java b/model/storage/src/main/java/org/keycloak/storage/adapter/AbstractUserAdapter.java index 2b305d579bf..5be95d0e2d6 100644 --- a/model/storage/src/main/java/org/keycloak/storage/adapter/AbstractUserAdapter.java +++ b/model/storage/src/main/java/org/keycloak/storage/adapter/AbstractUserAdapter.java @@ -234,7 +234,7 @@ public abstract class AbstractUserAdapter extends UserModelDefaultMethods { } /** - * This method should not be overriden + * This method should not be overridden * * @return */ @@ -244,7 +244,7 @@ public abstract class AbstractUserAdapter extends UserModelDefaultMethods { } /** - * This method should not be overriden + * This method should not be overridden * * @return */ @@ -255,7 +255,7 @@ public abstract class AbstractUserAdapter extends UserModelDefaultMethods { } /** - * This method should not be overriden + * This method should not be overridden * * @return */ @@ -265,7 +265,7 @@ public abstract class AbstractUserAdapter extends UserModelDefaultMethods { } /** - * This method should not be overriden + * This method should not be overridden * * @return */ diff --git a/model/storage/src/main/java/org/keycloak/storage/adapter/AbstractUserAdapterFederatedStorage.java b/model/storage/src/main/java/org/keycloak/storage/adapter/AbstractUserAdapterFederatedStorage.java index 9606626b776..fd9f04580d4 100644 --- a/model/storage/src/main/java/org/keycloak/storage/adapter/AbstractUserAdapterFederatedStorage.java +++ b/model/storage/src/main/java/org/keycloak/storage/adapter/AbstractUserAdapterFederatedStorage.java @@ -241,7 +241,7 @@ public abstract class AbstractUserAdapterFederatedStorage extends UserModelDefau } /** - * This method should not be overriden + * This method should not be overridden * * @return */ @@ -251,7 +251,7 @@ public abstract class AbstractUserAdapterFederatedStorage extends UserModelDefau } /** - * This method should not be overriden + * This method should not be overridden * * @return */ @@ -261,7 +261,7 @@ public abstract class AbstractUserAdapterFederatedStorage extends UserModelDefau } /** - * This method should not be overriden + * This method should not be overridden * * @return */ @@ -271,7 +271,7 @@ public abstract class AbstractUserAdapterFederatedStorage extends UserModelDefau } /** - * This method should not be overriden + * This method should not be overridden * * @return */ diff --git a/saml-core/src/main/java/org/keycloak/rotation/HardcodedKeyLocator.java b/saml-core/src/main/java/org/keycloak/rotation/HardcodedKeyLocator.java index 74bfa1f18de..6d9d4f86a08 100644 --- a/saml-core/src/main/java/org/keycloak/rotation/HardcodedKeyLocator.java +++ b/saml-core/src/main/java/org/keycloak/rotation/HardcodedKeyLocator.java @@ -26,7 +26,7 @@ import java.util.Objects; import java.util.stream.Collectors; /** - * Key locator for a bunch of keys. It can be initializaed with or without + * Key locator for a bunch of keys. It can be initialized with or without * key names. * * @author Hynek Mlnařík diff --git a/saml-core/src/main/java/org/keycloak/saml/processing/core/saml/v2/util/AssertionUtil.java b/saml-core/src/main/java/org/keycloak/saml/processing/core/saml/v2/util/AssertionUtil.java index c4f8f7a0bcf..534c6275d8c 100755 --- a/saml-core/src/main/java/org/keycloak/saml/processing/core/saml/v2/util/AssertionUtil.java +++ b/saml-core/src/main/java/org/keycloak/saml/processing/core/saml/v2/util/AssertionUtil.java @@ -363,7 +363,7 @@ public class AssertionUtil { * out of sync. * * @param assertion - * @param clockSkewInMilis in miliseconds + * @param clockSkewInMilis in milliseconds * * @return * @@ -429,7 +429,7 @@ public class AssertionUtil { * out of sync. * * @param assertion - * @param clockSkewInMilis in miliseconds + * @param clockSkewInMilis in milliseconds * * @return * @@ -667,4 +667,4 @@ public class AssertionUtil { } return assertion.getSubject().getSubType(); } -} \ No newline at end of file +} diff --git a/saml-core/src/main/java/org/keycloak/saml/processing/core/saml/v2/util/XMLTimeUtil.java b/saml-core/src/main/java/org/keycloak/saml/processing/core/saml/v2/util/XMLTimeUtil.java index 30d687c3333..3545d6c7ebe 100755 --- a/saml-core/src/main/java/org/keycloak/saml/processing/core/saml/v2/util/XMLTimeUtil.java +++ b/saml-core/src/main/java/org/keycloak/saml/processing/core/saml/v2/util/XMLTimeUtil.java @@ -43,7 +43,7 @@ public class XMLTimeUtil { private static final PicketLinkLogger logger = PicketLinkLoggerFactory.getLogger(); /** - * Add additional time in miliseconds + * Add additional time in milliseconds * * @param value calendar whose value needs to be updated * @param millis @@ -68,10 +68,10 @@ public class XMLTimeUtil { } /** - * Subtract some miliseconds from the time value + * Subtract some milliseconds from the time value * * @param value - * @param millis miliseconds entered in a positive value + * @param millis milliseconds entered in a positive value * * @return */ @@ -128,7 +128,7 @@ public class XMLTimeUtil { } /** - * Convert the minutes into miliseconds + * Convert the minutes into milliseconds * * @param valueInMins * diff --git a/server-spi-private/src/main/java/org/keycloak/authentication/AbstractAuthenticationFlowContext.java b/server-spi-private/src/main/java/org/keycloak/authentication/AbstractAuthenticationFlowContext.java index 6a90ed4ee7a..1a9d41ad749 100755 --- a/server-spi-private/src/main/java/org/keycloak/authentication/AbstractAuthenticationFlowContext.java +++ b/server-spi-private/src/main/java/org/keycloak/authentication/AbstractAuthenticationFlowContext.java @@ -184,7 +184,7 @@ public interface AbstractAuthenticationFlowContext { void challenge(Response challenge); /** - * Sends the challenge back to the HTTP client irregardless of the current executionr requirement + * Sends the challenge back to the HTTP client regardless of the current execution requirement * * @param challenge */ diff --git a/server-spi-private/src/main/java/org/keycloak/authentication/AuthenticationFlowContext.java b/server-spi-private/src/main/java/org/keycloak/authentication/AuthenticationFlowContext.java index af108802e4a..390be08b361 100755 --- a/server-spi-private/src/main/java/org/keycloak/authentication/AuthenticationFlowContext.java +++ b/server-spi-private/src/main/java/org/keycloak/authentication/AuthenticationFlowContext.java @@ -113,7 +113,7 @@ public interface AuthenticationFlowContext extends AbstractAuthenticationFlowCon URI getRefreshUrl(boolean authSessionIdParam); /** - * End the flow and redirect browser based on protocol specific respones. This should only be executed + * End the flow and redirect browser based on protocol specific response. This should only be executed * in browser-based flows. * */ diff --git a/server-spi-private/src/main/java/org/keycloak/authentication/Authenticator.java b/server-spi-private/src/main/java/org/keycloak/authentication/Authenticator.java index b8619ef5f62..aea5630290a 100755 --- a/server-spi-private/src/main/java/org/keycloak/authentication/Authenticator.java +++ b/server-spi-private/src/main/java/org/keycloak/authentication/Authenticator.java @@ -37,7 +37,7 @@ public interface Authenticator extends Provider { /** * Initial call for the authenticator. This method should check the current HTTP request to determine if the request - * satifies the Authenticator's requirements. If it doesn't, it should send back a challenge response by calling + * satisfies the Authenticator's requirements. If it doesn't, it should send back a challenge response by calling * the AuthenticationFlowContext.challenge(Response). If this challenge is a authentication, the action URL * of the form must point to * diff --git a/server-spi-private/src/main/java/org/keycloak/authentication/ConfigurableAuthenticatorFactory.java b/server-spi-private/src/main/java/org/keycloak/authentication/ConfigurableAuthenticatorFactory.java index 5e3305c19ff..e14e66a1693 100755 --- a/server-spi-private/src/main/java/org/keycloak/authentication/ConfigurableAuthenticatorFactory.java +++ b/server-spi-private/src/main/java/org/keycloak/authentication/ConfigurableAuthenticatorFactory.java @@ -41,7 +41,7 @@ public interface ConfigurableAuthenticatorFactory extends ConfiguredProvider { /** * General authenticator type, i.e. totp, password, cert. * - * @return null if not a referencable category + * @return null if not a referenceable category */ String getReferenceCategory(); diff --git a/server-spi-private/src/main/java/org/keycloak/authentication/FlowStatus.java b/server-spi-private/src/main/java/org/keycloak/authentication/FlowStatus.java index 4037720a702..e5c2c9e5e5e 100755 --- a/server-spi-private/src/main/java/org/keycloak/authentication/FlowStatus.java +++ b/server-spi-private/src/main/java/org/keycloak/authentication/FlowStatus.java @@ -37,7 +37,7 @@ public enum FlowStatus { CHALLENGE, /** - * Irregardless of the execution's requirement, this challenge will be sent to the user. + * Regardless of the execution's requirement, this challenge will be sent to the user. * */ FORCE_CHALLENGE, diff --git a/server-spi-private/src/main/java/org/keycloak/authentication/RequiredActionContext.java b/server-spi-private/src/main/java/org/keycloak/authentication/RequiredActionContext.java index 483846534ee..7cc719700cd 100755 --- a/server-spi-private/src/main/java/org/keycloak/authentication/RequiredActionContext.java +++ b/server-spi-private/src/main/java/org/keycloak/authentication/RequiredActionContext.java @@ -31,7 +31,7 @@ import jakarta.ws.rs.core.UriInfo; import java.net.URI; /** - * Interface that encapsulates current information about the current requred action + * Interface that encapsulates information about the current required action * * @author Bill Burke * @version $Revision: 1 $ diff --git a/server-spi-private/src/main/java/org/keycloak/authentication/ValidationContext.java b/server-spi-private/src/main/java/org/keycloak/authentication/ValidationContext.java index 33526481907..e460c384c32 100755 --- a/server-spi-private/src/main/java/org/keycloak/authentication/ValidationContext.java +++ b/server-spi-private/src/main/java/org/keycloak/authentication/ValidationContext.java @@ -41,7 +41,7 @@ public interface ValidationContext extends FormContext { void error(String error); /** - * Mark this validation as sucessful + * Mark this validation as successful * */ void success(); diff --git a/server-spi-private/src/main/java/org/keycloak/authorization/attribute/Attributes.java b/server-spi-private/src/main/java/org/keycloak/authorization/attribute/Attributes.java index 8f33fcf691f..3e86a6985c2 100644 --- a/server-spi-private/src/main/java/org/keycloak/authorization/attribute/Attributes.java +++ b/server-spi-private/src/main/java/org/keycloak/authorization/attribute/Attributes.java @@ -27,7 +27,7 @@ import java.util.Date; import java.util.Map; /** - *
Holds attributes, their values and provides utlity methods to manage them. + *
Holds attributes, their values and provides utility methods to manage them. * *
In the future, it may be useful to provide different implementations for this interface in order to plug or integrate with different * Policy Information Point (PIP).
diff --git a/server-spi-private/src/main/java/org/keycloak/provider/ServerInfoAwareProviderFactory.java b/server-spi-private/src/main/java/org/keycloak/provider/ServerInfoAwareProviderFactory.java index d12332906be..54db6b0a6ed 100644 --- a/server-spi-private/src/main/java/org/keycloak/provider/ServerInfoAwareProviderFactory.java +++ b/server-spi-private/src/main/java/org/keycloak/provider/ServerInfoAwareProviderFactory.java @@ -27,7 +27,7 @@ import java.util.Map; public interface ServerInfoAwareProviderFactory { /** - * Return actual info about the provider. This info contains informations about providers configuration and operational conditions (eg. errors in connection to remote systems etc) which is + * Return actual info about the provider. This info contains information about provider's configuration and operational conditions (eg. errors in connection to remote systems etc) which is * shown on "Server Info" page then. * * @return Map with keys describing value and relevant values itself diff --git a/server-spi-private/src/main/java/org/keycloak/storage/StoreMigrateRepresentationEvent.java b/server-spi-private/src/main/java/org/keycloak/storage/StoreMigrateRepresentationEvent.java index 0d2294b38a7..6de1ac33951 100644 --- a/server-spi-private/src/main/java/org/keycloak/storage/StoreMigrateRepresentationEvent.java +++ b/server-spi-private/src/main/java/org/keycloak/storage/StoreMigrateRepresentationEvent.java @@ -24,7 +24,7 @@ import org.keycloak.representations.idm.RealmRepresentation; /** * Event for notifying the store, so it can do migrations on the representation as needed. * - * CAUTION: This event is exceptional as it performs any necessary modificaton of the representation. + * CAUTION: This event is exceptional as it performs any necessary modification of the representation. */ public class StoreMigrateRepresentationEvent implements ProviderEvent { @@ -59,4 +59,4 @@ public class StoreMigrateRepresentationEvent implements ProviderEvent { public boolean isSkipUserDependent() { return skipUserDependent; } -} \ No newline at end of file +} diff --git a/server-spi-private/src/main/java/org/keycloak/utils/ProxyClassLoader.java b/server-spi-private/src/main/java/org/keycloak/utils/ProxyClassLoader.java index 03c25ce9799..abc03185029 100644 --- a/server-spi-private/src/main/java/org/keycloak/utils/ProxyClassLoader.java +++ b/server-spi-private/src/main/java/org/keycloak/utils/ProxyClassLoader.java @@ -35,7 +35,7 @@ import java.util.Set; * * The way it works: * - Get list of classloaders, which will be used as "delegates" when loaded classes or resources. - * - Can be retrived from provided classloaders or alternatively from the provided classes where the "delegate classloaders" will be determined from the classloaders of given classes + * - Can be retrieved from provided classloaders or alternatively from the provided classes where the "delegate classloaders" will be determined from the classloaders of given classes * - For each class or resource that is 'requested': * - First try all provided classloaders and if we have a match, return that * - If no match was found: proceed with 'normal' classloading in 'current classpath' scope diff --git a/server-spi/src/main/java/org/keycloak/models/IdentityProviderModel.java b/server-spi/src/main/java/org/keycloak/models/IdentityProviderModel.java index 8298fef4967..f36eed508da 100755 --- a/server-spi/src/main/java/org/keycloak/models/IdentityProviderModel.java +++ b/server-spi/src/main/java/org/keycloak/models/IdentityProviderModel.java @@ -272,7 +272,7 @@ public class IdentityProviderModel implements Serializable { } /** - * Returns flag whether the users withing this IdP should be transient, ie. not stored in Keycloak database. + * Returns flag whether the users within this IdP should be transient, ie. not stored in Keycloak database. * Default value: {@code false}. * @return */ diff --git a/server-spi/src/main/java/org/keycloak/services/clientpolicy/ClientPolicyManager.java b/server-spi/src/main/java/org/keycloak/services/clientpolicy/ClientPolicyManager.java index a15796ad1c4..345a41623cf 100644 --- a/server-spi/src/main/java/org/keycloak/services/clientpolicy/ClientPolicyManager.java +++ b/server-spi/src/main/java/org/keycloak/services/clientpolicy/ClientPolicyManager.java @@ -50,7 +50,7 @@ public interface ClientPolicyManager extends Provider { /** * when importing a realm, or updating a realm, update model from the representation object * - * @param realm - the newly created realm to be overriden by imported realm's representation + * @param realm - the newly created realm to be overridden by imported realm's representation * @param rep - imported realm's representation */ void updateRealmModelFromRepresentation(RealmModel realm, RealmRepresentation rep); @@ -62,9 +62,9 @@ public interface ClientPolicyManager extends Provider { * * If the "clientProfiles" parameter contains the global client profiles, they won't be updated on the realm at all * - * @param realm - the realm whose client profiles is to be overriden by the new client profiles + * @param realm - the realm whose client profiles is to be overridden by the new client profiles * @param clientProfiles - the json representation of the new client profiles that overrides the existing client profiles set on the realm. With - * the exception of global profiles, which are not overriden as mentioned above. + * the exception of global profiles, which are not overridden as mentioned above. * @throws {@link ClientPolicyException} */ void updateClientProfiles(RealmModel realm, ClientProfilesRepresentation clientProfiles) throws ClientPolicyException; @@ -83,7 +83,7 @@ public interface ClientPolicyManager extends Provider { * and overrides the existing client policies set on the realm with them. * if these operation fails, rolls them back to the existing client policies and throw an exception. * - * @param realm - the realm whose client policies is to be overriden by the new client policies + * @param realm - the realm whose client policies is to be overridden by the new client policies * @param clientPolicies - the json representation of the new client policies that overrides the existing client policies set on the realm * @throws {@link ClientPolicyException} */ diff --git a/server-spi/src/main/java/org/keycloak/sessions/CommonClientSessionModel.java b/server-spi/src/main/java/org/keycloak/sessions/CommonClientSessionModel.java index d2dc511805f..d7a3db8a1fb 100644 --- a/server-spi/src/main/java/org/keycloak/sessions/CommonClientSessionModel.java +++ b/server-spi/src/main/java/org/keycloak/sessions/CommonClientSessionModel.java @@ -24,7 +24,7 @@ import org.keycloak.models.RealmModel; import org.keycloak.util.EnumWithStableIndex; /** - * Predecesor of AuthenticationSessionModel, ClientLoginSessionModel and ClientSessionModel (then action tickets). Maybe we will remove it later... + * Predecessor of AuthenticationSessionModel, ClientLoginSessionModel and ClientSessionModel (then action tickets). Maybe we will remove it later... * * @author Marek Posolda */ diff --git a/server-spi/src/main/java/org/keycloak/storage/group/GroupLookupProvider.java b/server-spi/src/main/java/org/keycloak/storage/group/GroupLookupProvider.java index e95642713ec..2ec59e4431d 100644 --- a/server-spi/src/main/java/org/keycloak/storage/group/GroupLookupProvider.java +++ b/server-spi/src/main/java/org/keycloak/storage/group/GroupLookupProvider.java @@ -84,7 +84,7 @@ public interface GroupLookupProvider { * * @param realm Realm. * @param search Case sensitive searched string. - * @param exact Boolean which defines wheather search param should be matched exactly. + * @param exact Boolean which defines whether search param should be matched exactly. * @param firstResult First result to return. Ignored if negative or {@code null}. * @param maxResults Maximum number of results to return. Ignored if negative or {@code null}. * @return Stream of root groups that have the given string in their name themself or a group in their child-collection has. diff --git a/server-spi/src/main/java/org/keycloak/validate/ValidationError.java b/server-spi/src/main/java/org/keycloak/validate/ValidationError.java index 3fb6bf3208d..48a5f5a560a 100644 --- a/server-spi/src/main/java/org/keycloak/validate/ValidationError.java +++ b/server-spi/src/main/java/org/keycloak/validate/ValidationError.java @@ -118,7 +118,7 @@ public class ValidationError implements Serializable { } /** - * Returns an array where the first element is the {@link #inputHint} follwed by the {@link #messageParameters}. + * Returns an array where the first element is the {@link #inputHint} followed by the {@link #messageParameters}. * * @return */ @@ -164,4 +164,4 @@ public class ValidationError implements Serializable { public Response.Status getStatusCode() { return statusCode; } -} \ No newline at end of file +} diff --git a/services/src/main/java/org/keycloak/authentication/authenticators/browser/ScriptBasedAuthenticator.java b/services/src/main/java/org/keycloak/authentication/authenticators/browser/ScriptBasedAuthenticator.java index 1b68b1bbe69..7f7e442477c 100644 --- a/services/src/main/java/org/keycloak/authentication/authenticators/browser/ScriptBasedAuthenticator.java +++ b/services/src/main/java/org/keycloak/authentication/authenticators/browser/ScriptBasedAuthenticator.java @@ -54,7 +54,7 @@ import java.util.Map; * * *- * Note that the {@code user} variable is only defined when the user was identified by a preceeding + * Note that the {@code user} variable is only defined when the user was identified by a preceding * authentication step, e.g. by the {@link UsernamePasswordForm} authenticator. *
*
diff --git a/services/src/main/java/org/keycloak/authentication/authenticators/util/LoAUtil.java b/services/src/main/java/org/keycloak/authentication/authenticators/util/LoAUtil.java
index 94722355b9e..cebdd7f0af5 100644
--- a/services/src/main/java/org/keycloak/authentication/authenticators/util/LoAUtil.java
+++ b/services/src/main/java/org/keycloak/authentication/authenticators/util/LoAUtil.java
@@ -83,7 +83,7 @@ public class LoAUtil {
/**
* @param realm
- * @return All LoA numbers configured in the conditions in the realm browser flow. Key is level, Vaue is maxAge for particular level
+ * @return All LoA numbers configured in the conditions in the realm browser flow. Key is level, Value is maxAge for particular level
*/
public static Map Returns Docuemnt based on the given Returns Document based on the given The resulting string is based on the Body of the SOAP message, which should map to a valid SAML message.
*
@@ -103,7 +103,7 @@ public final class Soap {
}
/**
- * Returns Docuemnt based on the given SOAP message.
+ * Returns Document based on the given SOAP message.
*
* The resulting string is based on the Body of the SOAP message, which should map to a valid SAML message.
* @param soapMessage a SOAPMessage from which to extract the body
@@ -214,7 +214,7 @@ public final class Soap {
}
/**
- * Build method for testing, generates an appache httpcomponents HttpPost
+ * Build method for testing, generates an apache httpcomponents HttpPost
* @param uri the URI to which to POST the soap message
* @return an HttpPost containing the SOAP message
*/
diff --git a/services/src/main/java/org/keycloak/services/resources/LoadBalancerResource.java b/services/src/main/java/org/keycloak/services/resources/LoadBalancerResource.java
index 4812ecbf4b3..e18d980743e 100755
--- a/services/src/main/java/org/keycloak/services/resources/LoadBalancerResource.java
+++ b/services/src/main/java/org/keycloak/services/resources/LoadBalancerResource.java
@@ -50,7 +50,7 @@ public class LoadBalancerResource {
KeycloakSession session;
/**
- * Return the status for a laod balancer in a multi-site setup if this Keycloak site should receive traffic.
+ * Return the status for a load balancer in a multi-site setup if this Keycloak site should receive traffic.
* inputStream which must contain a valid SOAP message.
+ * inputStream which must contain a valid SOAP message.
*
* UP or DOWN
* is returned for humans to see the status in the browser.