All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.icthh.xm.commons.security.internal.SpringSecurityXmAuthenticationContextHolder Maven / Gradle / Ivy

The newest version!
package com.icthh.xm.commons.security.internal;

import com.icthh.xm.commons.security.XmAuthenticationContext;
import com.icthh.xm.commons.security.XmAuthenticationContextHolder;
import org.springframework.security.core.context.SecurityContextHolder;

/**
 * The {@link SpringSecurityXmAuthenticationContextHolder} class.
 */
public class SpringSecurityXmAuthenticationContextHolder implements XmAuthenticationContextHolder {

    /**
     * {@inheritDoc}
     */
    @Override
    public XmAuthenticationContext getContext() {
        return new SpringSecurityXmAuthenticationContext(SecurityContextHolder.getContext());
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy