Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import zone.cogni.lib.security.permission.handler.PermissionAccessDecisionVoter;
import zone.cogni.lib.security.permission.handler.PermissionMethodSecurityMetadataSource;


import jakarta.inject.Inject;
import java.util.Optional;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package zone.cogni.lib.security.permission;

public enum Permission {
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.codec.CodecPolicy;
import org.apache.commons.codec.binary.Base64;
import org.springframework.http.HttpMethod;
import org.springframework.security.saml2.core.Saml2Error;
Expand Down Expand Up @@ -34,7 +33,7 @@
@RequiredArgsConstructor
public final class NoRegistrationIdSaml2AuthenticationTokenConverter implements AuthenticationConverter {

private static Base64 BASE64 = new Base64(0, new byte[] {'\n' }, false, CodecPolicy.STRICT);
private static Base64 BASE64 = new Base64(0, new byte[] {'\n' }, false);

private Function<HttpServletRequest, AbstractSaml2AuthenticationRequest> loader = new HttpSessionSaml2AuthenticationRequestRepository()::loadAuthenticationRequest;;

Expand Down