From bdd70c24d7261d86d0310d53dd7faf26f2015679 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Mon, 22 Apr 2024 08:17:11 +0200 Subject: [PATCH] Fix user-facing typos in Javadoc Signed-off-by: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> --- .../keycloak/adapters/saml/PropertiesBasedRoleMapper.java | 2 +- .../java/org/keycloak/adapters/saml/SamlDeployment.java | 6 +++--- common/src/main/java/org/keycloak/common/util/Base64.java | 2 +- common/src/main/java/org/keycloak/common/util/Encode.java | 4 ++-- .../main/java/org/keycloak/common/util/NetworkUtils.java | 4 ++-- .../org/keycloak/common/util/StringPropertyReplacer.java | 4 ++-- .../org/keycloak/common/util/reflections/Reflections.java | 8 ++++---- core/src/main/java/org/keycloak/jose/jwk/JWKUtil.java | 4 ++-- core/src/main/java/org/keycloak/sdjwt/SdJwt.java | 2 +- .../java/org/keycloak/sdjwt/sdjwtvp/TestCompareSdJwt.java | 2 +- .../org/keycloak/storage/ldap/LDAPStorageProvider.java | 2 +- .../main/java/org/keycloak/storage/ldap/LDAPUtils.java | 2 +- .../dbus/connections/impl/BaseConnectionBuilder.java | 4 ++-- .../freedesktop/dbus/connections/impl/DBusConnection.java | 8 ++++---- .../main/java/org/freedesktop/dbus/interfaces/DBus.java | 2 +- .../java/org/freedesktop/dbus/messages/MethodCall.java | 4 ++-- .../src/main/java/org/freedesktop/dbus/utils/XmlUtil.java | 2 +- federation/sssd/src/main/java/org/jvnet/libpam/PAM.java | 2 +- .../src/main/java/org/jvnet/libpam/impl/PAMLibrary.java | 2 +- .../org/keycloak/admin/client/resource/UsersResource.java | 4 ++-- .../models/cache/infinispan/RealmCacheSession.java | 4 ++-- .../infinispan/entities/AbstractExtendableRevisioned.java | 2 +- .../org/keycloak/storage/adapter/AbstractUserAdapter.java | 8 ++++---- .../adapter/AbstractUserAdapterFederatedStorage.java | 8 ++++---- .../java/org/keycloak/rotation/HardcodedKeyLocator.java | 2 +- .../saml/processing/core/saml/v2/util/AssertionUtil.java | 6 +++--- .../saml/processing/core/saml/v2/util/XMLTimeUtil.java | 8 ++++---- .../authentication/AbstractAuthenticationFlowContext.java | 2 +- .../authentication/AuthenticationFlowContext.java | 2 +- .../java/org/keycloak/authentication/Authenticator.java | 2 +- .../authentication/ConfigurableAuthenticatorFactory.java | 2 +- .../main/java/org/keycloak/authentication/FlowStatus.java | 2 +- .../keycloak/authentication/RequiredActionContext.java | 2 +- .../org/keycloak/authentication/ValidationContext.java | 2 +- .../org/keycloak/authorization/attribute/Attributes.java | 2 +- .../keycloak/provider/ServerInfoAwareProviderFactory.java | 2 +- .../keycloak/storage/StoreMigrateRepresentationEvent.java | 4 ++-- .../main/java/org/keycloak/utils/ProxyClassLoader.java | 2 +- .../java/org/keycloak/models/IdentityProviderModel.java | 2 +- .../services/clientpolicy/ClientPolicyManager.java | 8 ++++---- .../org/keycloak/sessions/CommonClientSessionModel.java | 2 +- .../org/keycloak/storage/group/GroupLookupProvider.java | 2 +- .../main/java/org/keycloak/validate/ValidationError.java | 4 ++-- .../authenticators/browser/ScriptBasedAuthenticator.java | 2 +- .../authentication/authenticators/util/LoAUtil.java | 2 +- .../login/freemarker/model/AbstractUserProfileBean.java | 2 +- .../IdentityProviderMappersPartialImport.java | 2 +- .../partialimport/IdentityProvidersPartialImport.java | 2 +- .../oid4vc/issuance/signing/VCSigningServiceSpi.java | 4 ++-- .../protocol/oidc/mappers/UserAttributeMapper.java | 2 +- .../protocol/oidc/mappers/UserPropertyMapper.java | 2 +- .../org/keycloak/protocol/saml/profile/util/Soap.java | 6 +++--- .../keycloak/services/resources/LoadBalancerResource.java | 2 +- 53 files changed, 88 insertions(+), 88 deletions(-) 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 @@ * 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 IDP { 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 static byte[] encodeBytesToBytes( byte[] source, int off, int len, int op * 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 static String encodeValue(String segment, String[] encoding) } /** - * 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 static String encodePathSaveEncodings(String segment) } /** - * 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 static String formatPossibleIpv6Address(String address) { } /** - *

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 static String replaceProperties(final String string) } /** - * 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 static boolean containsWildcards(Type[] types) { } /** - * 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 static Class resolveListType(Field field, Object instance) throws Ille 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 @@ 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 static byte[] toIntegerBytes(final BigInteger bigInt) { } /** - * 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 @@ private List createdDecoyClaims(DisclosureSpec disclosureSpec) { /** * 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 @@ * * 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 void close() { * * @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 R withMethodReturnThreadCount(int _threads) { } /** - * Set the endianess for the connection - * Default is based on system endianess. + * Set the endianness for the connection + * Default is based on system endianness. * * @param _endianess {@link Endian#BIG} or {@value Endian#LITTLE} * @return this diff --git a/federation/sssd/src/main/java/org/freedesktop/dbus/connections/impl/DBusConnection.java b/federation/sssd/src/main/java/org/freedesktop/dbus/connections/impl/DBusConnection.java index 49f8f9f9e2a..a8c4743ea57 100644 --- a/federation/sssd/src/main/java/org/freedesktop/dbus/connections/impl/DBusConnection.java +++ b/federation/sssd/src/main/java/org/freedesktop/dbus/connections/impl/DBusConnection.java @@ -48,7 +48,7 @@ /** * Handles a connection to DBus. *

- * This is a Singleton class, only 1 connection to the SYSTEM or SESSION busses can be made. Repeated calls to + * This is a Singleton class, only 1 connection to the SYSTEM or SESSION buses can be made. Repeated calls to * getConnection will return the same reference. *

*

@@ -469,7 +469,7 @@ public DBusInterface getPeerRemoteObject(String _busname, String _objectpath) th * 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 I getPeerRemoteObject(String _busname, String _ * 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 I getRemoteObject(String _busname, String _obje * 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 synchronized boolean hasReply() { } /** - * 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 synchronized Message getReply(long _timeout) { } /** - * 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 static Element toElement(Node _node) { } /** - * 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 @@ * 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 @@ protected List getFieldOrder() { 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 @@ List search(@QueryParam("username") String username, * * @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 @@ List search(@QueryParam("search") String search, * * @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 @@ * 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 @@ * 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 AbstractExtendableRevisioned(Long revision, String id) { } /** - * 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 void setEnabled(boolean enabled) { } /** - * This method should not be overriden + * This method should not be overridden * * @return */ @@ -244,7 +244,7 @@ public String getFederationLink() { } /** - * This method should not be overriden + * This method should not be overridden * * @return */ @@ -255,7 +255,7 @@ public void setFederationLink(String link) { } /** - * This method should not be overriden + * This method should not be overridden * * @return */ @@ -265,7 +265,7 @@ public String getServiceAccountClientLink() { } /** - * 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 void setEnabled(boolean enabled) { } /** - * This method should not be overriden + * This method should not be overridden * * @return */ @@ -251,7 +251,7 @@ public String getFederationLink() { } /** - * This method should not be overriden + * This method should not be overridden * * @return */ @@ -261,7 +261,7 @@ public void setFederationLink(String link) { } /** - * This method should not be overriden + * This method should not be overridden * * @return */ @@ -271,7 +271,7 @@ public String getServiceAccountClientLink() { } /** - * 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.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 static boolean hasExpired(AssertionType assertion) throws ConfigurationEx * out of sync. * * @param assertion - * @param clockSkewInMilis in miliseconds + * @param clockSkewInMilis in milliseconds * * @return * @@ -429,7 +429,7 @@ public static boolean hasExpired(SAML11AssertionType assertion) throws Configura * out of sync. * * @param assertion - * @param clockSkewInMilis in miliseconds + * @param clockSkewInMilis in milliseconds * * @return * @@ -667,4 +667,4 @@ private static STSubType getSubTypeElement(final ResponseType responseType) { } 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 static XMLGregorianCalendar add(XMLGregorianCalendar value, long millis) } /** - * 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 static String getCurrentTimeZoneID() { } /** - * 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 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.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 @@ 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 @@ /** * 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 RealmRepresentation getRep() { 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 @@ * * 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 void setHideOnLogin(boolean hideOnLogin) { } /** - * 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.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 @@ default Stream searchForGroupByNameStream(RealmModel realm, String s * * @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 String formatMessage(BiFunction formatter) { } /** - * 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 ValidationError setStatusCode(Response.Status statusCode) { 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 @@ * *

*

- * 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 static Stream getLoAConfiguredInRealmBrowserFlow(RealmModel real /** * @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 getLoaMaxAgesConfiguredInRealmBrowserFlow(RealmModel realm) { List loaConditions = AuthenticatorUtil.getExecutionsByType(realm, realm.getBrowserFlow().getId(), ConditionalLoaAuthenticatorFactory.PROVIDER_ID); diff --git a/services/src/main/java/org/keycloak/forms/login/freemarker/model/AbstractUserProfileBean.java b/services/src/main/java/org/keycloak/forms/login/freemarker/model/AbstractUserProfileBean.java index fdab733435d..1fc4cb55f94 100644 --- a/services/src/main/java/org/keycloak/forms/login/freemarker/model/AbstractUserProfileBean.java +++ b/services/src/main/java/org/keycloak/forms/login/freemarker/model/AbstractUserProfileBean.java @@ -23,7 +23,7 @@ import org.keycloak.userprofile.UserProfileProvider; /** - * Abstract base for Freemarker context bean providing informations about user profile to render dynamic or crafted forms. + * Abstract base for Freemarker context bean providing information about user profile to render dynamic or crafted forms. * * @author Vlastimil Elias */ diff --git a/services/src/main/java/org/keycloak/partialimport/IdentityProviderMappersPartialImport.java b/services/src/main/java/org/keycloak/partialimport/IdentityProviderMappersPartialImport.java index dd70077f30a..cc19bba0b2b 100644 --- a/services/src/main/java/org/keycloak/partialimport/IdentityProviderMappersPartialImport.java +++ b/services/src/main/java/org/keycloak/partialimport/IdentityProviderMappersPartialImport.java @@ -28,7 +28,7 @@ import java.util.List; /** - * PartialImport handler for Identitiy Provider Mappers. + * PartialImport handler for Identity Provider Mappers. * * @author Stan Silvert ssilvert@redhat.com (C) 2016 Red Hat Inc. */ diff --git a/services/src/main/java/org/keycloak/partialimport/IdentityProvidersPartialImport.java b/services/src/main/java/org/keycloak/partialimport/IdentityProvidersPartialImport.java index de3dbfd8358..0a40cfb1c2e 100644 --- a/services/src/main/java/org/keycloak/partialimport/IdentityProvidersPartialImport.java +++ b/services/src/main/java/org/keycloak/partialimport/IdentityProvidersPartialImport.java @@ -28,7 +28,7 @@ import java.util.List; /** - * PartialImport handler for Identitiy Providers. + * PartialImport handler for Identity Providers. * * @author Stan Silvert ssilvert@redhat.com (C) 2016 Red Hat Inc. */ diff --git a/services/src/main/java/org/keycloak/protocol/oid4vc/issuance/signing/VCSigningServiceSpi.java b/services/src/main/java/org/keycloak/protocol/oid4vc/issuance/signing/VCSigningServiceSpi.java index 3e9b87b38e0..75aa04df80f 100644 --- a/services/src/main/java/org/keycloak/protocol/oid4vc/issuance/signing/VCSigningServiceSpi.java +++ b/services/src/main/java/org/keycloak/protocol/oid4vc/issuance/signing/VCSigningServiceSpi.java @@ -22,7 +22,7 @@ import org.keycloak.provider.Spi; /** - * Spi implementation fo the creation of {@link VerifiableCredentialsSigningService} + * Spi implementation of the creation of {@link VerifiableCredentialsSigningService} * * @author Stefan Wiedemann */ @@ -48,4 +48,4 @@ public Class getProviderClass() { public Class getProviderFactoryClass() { return VCSigningServiceProviderFactory.class; } -} \ No newline at end of file +} diff --git a/services/src/main/java/org/keycloak/protocol/oidc/mappers/UserAttributeMapper.java b/services/src/main/java/org/keycloak/protocol/oidc/mappers/UserAttributeMapper.java index 77f77fe43ec..6a0d679685f 100755 --- a/services/src/main/java/org/keycloak/protocol/oidc/mappers/UserAttributeMapper.java +++ b/services/src/main/java/org/keycloak/protocol/oidc/mappers/UserAttributeMapper.java @@ -32,7 +32,7 @@ /** * Mappings UserModel.attribute to an ID Token claim. Token claim name can be a full qualified nested object name, * i.e. "address.country". This will create a nested - * json object within the toke claim. + * json object within the token claim. * * @author Bill Burke * @version $Revision: 1 $ diff --git a/services/src/main/java/org/keycloak/protocol/oidc/mappers/UserPropertyMapper.java b/services/src/main/java/org/keycloak/protocol/oidc/mappers/UserPropertyMapper.java index 94b0bc37c95..6e4e6a94e45 100755 --- a/services/src/main/java/org/keycloak/protocol/oidc/mappers/UserPropertyMapper.java +++ b/services/src/main/java/org/keycloak/protocol/oidc/mappers/UserPropertyMapper.java @@ -30,7 +30,7 @@ /** * Mappings UserModel property (the property name of a getter method) to an ID Token claim. Token claim name can be a full qualified nested object name, * i.e. "address.country". This will create a nested - * json object within the toke claim. + * json object within the token claim. * * @author Bill Burke * @version $Revision: 1 $ diff --git a/services/src/main/java/org/keycloak/protocol/saml/profile/util/Soap.java b/services/src/main/java/org/keycloak/protocol/saml/profile/util/Soap.java index c4898758cc1..25646991de9 100755 --- a/services/src/main/java/org/keycloak/protocol/saml/profile/util/Soap.java +++ b/services/src/main/java/org/keycloak/protocol/saml/profile/util/Soap.java @@ -85,7 +85,7 @@ public static String toSamlHttpPostMessage(Document document) { } /** - *

Returns Docuemnt based on the given inputStream which must contain a valid SOAP message. + *

Returns Document based on the given inputStream which must contain a valid SOAP message. * *

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 static Document extractSoapMessage(InputStream inputStream) { } /** - *

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 @@ Response build(Status status) { } /** - * 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. *

* While a loadbalancer will usually check for the returned status code, the additional text UP or DOWN * is returned for humans to see the status in the browser.