Created
May 24, 2016 10:13
-
-
Save HDBandit/3672e2d33dd4f92c52603d45d29b09f4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Component | |
public class CurrentTenantIdentifierResolverImpl implements CurrentTenantIdentifierResolver { | |
@Override | |
public String resolveCurrentTenantIdentifier() { | |
return RequestContextHolderUtils.getCurrentTenantIdentifier(); | |
} | |
@Override | |
public boolean validateExistingCurrentSessions() { | |
return true; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment