Skip to content

Commit

Permalink
Renamed AS4 profile method
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Oct 23, 2024
1 parent 2561848 commit 3cad49f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ public static boolean isWSS4JSynchronizedSecurity ()
*/
@Nullable
@ChangePhase4V3 ("Use configuration property and global setter together")
public static String getAS4ProfileID ()
public static String getDefaultAS4ProfileID ()
{
return getConfig ().getAsString ("phase4.profile");
return getConfig ().getAsStringOrFallback ("phase4.default.profile", "phase4.profile");
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public static String getAS4ProfileID ()
{
// Fall back to the configuration file
// The profile ID from the configuration file is optional
ret = AS4Configuration.getAS4ProfileID ();
ret = AS4Configuration.getDefaultAS4ProfileID ();
if (ret == null)
{
// Fall back to the default profile ID
Expand Down

0 comments on commit 3cad49f

Please sign in to comment.