
net.openesb.security.SecurityHandlerImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of base Show documentation
Show all versions of base Show documentation
Shared interfaces between JBI Runtime modules
The newest version!
package net.openesb.security;
import javax.security.auth.Subject;
/**
*
* @author David BRASSELY (brasseld at gmail.com)
* @author OpenESB Community
*/
public class SecurityHandlerImpl implements SecurityHandler {
private final SecurityProvider securityProvider;
public SecurityHandlerImpl(final SecurityProvider securityProvider) {
this.securityProvider = securityProvider;
}
@Override
public Subject authenticate(String realmName, AuthenticationToken authenticationToken) throws AuthenticationException {
return securityProvider.login(realmName, authenticationToken);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy