Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ELY-2319] Delete the deprecated GSSCredentialSecurityFactory implementation. #2107

Merged
merged 1 commit into from Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions auth/client/pom.xml
Expand Up @@ -60,6 +60,10 @@
<groupId>org.wildfly.security</groupId>
<artifactId>wildfly-elytron-mechanism</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.security</groupId>
<artifactId>wildfly-elytron-mechanism-gssapi</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.security</groupId>
<artifactId>wildfly-elytron-password-impl</artifactId>
Expand Down
16 changes: 2 additions & 14 deletions auth/util/pom.xml
Expand Up @@ -40,10 +40,6 @@
<groupId>org.wildfly.security</groupId>
<artifactId>wildfly-elytron-auth</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.security</groupId>
<artifactId>wildfly-elytron-base</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.security</groupId>
<artifactId>wildfly-elytron-credential</artifactId>
Expand All @@ -54,13 +50,10 @@
</dependency>
<dependency>
<groupId>org.wildfly.security</groupId>
<artifactId>wildfly-elytron-mechanism-gssapi</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.security</groupId>
<artifactId>wildfly-elytron-security-manager-action</artifactId>
<artifactId>wildfly-elytron-x500</artifactId>
</dependency>


<dependency>
<groupId>org.wildfly.common</groupId>
<artifactId>wildfly-common</artifactId>
Expand Down Expand Up @@ -90,10 +83,5 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jmockit</groupId>
<artifactId>jmockit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Expand Up @@ -19,9 +19,6 @@
package org.wildfly.security.auth.util;

import java.io.IOException;
import java.security.GeneralSecurityException;

import javax.security.auth.login.LoginException;

import org.jboss.logging.BasicLogger;
import org.jboss.logging.Logger;
Expand Down Expand Up @@ -51,32 +48,32 @@ interface ElytronMessages extends BasicLogger {

ElytronMessages log = Logger.getMessageLogger(ElytronMessages.class, "org.wildfly.security");

@Message(id = 3, value = "This builder has already been built")
IllegalStateException builderAlreadyBuilt();
//@Message(id = 3, value = "This builder has already been built")
//IllegalStateException builderAlreadyBuilt();

@Message(id = 1065, value = "Pattern requires a capture group")
IllegalArgumentException patternRequiresCaptureGroup();

@Message(id = 1121, value = "Unable to perform initial JAAS login.")
GeneralSecurityException unableToPerformInitialLogin(@Cause LoginException cause);
//@Message(id = 1121, value = "Unable to perform initial JAAS login.")
//GeneralSecurityException unableToPerformInitialLogin(@Cause LoginException cause);

@Message(id = 1122, value = "No Kerberos principals found.")
GeneralSecurityException noKerberosPrincipalsFound();
//@Message(id = 1122, value = "No Kerberos principals found.")
//GeneralSecurityException noKerberosPrincipalsFound();

@Message(id = 1123, value = "Too many Kerberos principals found.")
GeneralSecurityException tooManyKerberosPrincipalsFound();
//@Message(id = 1123, value = "Too many Kerberos principals found.")
//GeneralSecurityException tooManyKerberosPrincipalsFound();

@Message(id = 1160, value = "KeyTab [%s] does not exists.")
IOException keyTabDoesNotExists(String keyTab);
//@Message(id = 1160, value = "KeyTab [%s] does not exists.")
//IOException keyTabDoesNotExists(String keyTab);

@Message(id = 1161, value = "No keys for Kerberos principal [%s] was found in KeyTab [%s].")
IOException noKeysForPrincipalInKeyTab(String principal, String keyTab);
//@Message(id = 1161, value = "No keys for Kerberos principal [%s] was found in KeyTab [%s].")
//IOException noKeysForPrincipalInKeyTab(String principal, String keyTab);

@Message(id = 1165, value = "Initial JAAS login skipped as it has failed in last %d seconds")
GeneralSecurityException initialLoginSkipped(long seconds);
//@Message(id = 1165, value = "Initial JAAS login skipped as it has failed in last %d seconds")
//GeneralSecurityException initialLoginSkipped(long seconds);

@Message(id = 3031, value = "Too many KerberosTicket instances in private credentials")
GeneralSecurityException tooManyKerberosTicketsFound();
//@Message(id = 3031, value = "Too many KerberosTicket instances in private credentials")
//GeneralSecurityException tooManyKerberosTicketsFound();

@Message(id = 17000, value = "Failed to create credential")
IOException xmlFailedToCreateCredential(@Cause Throwable cause);
Expand Down