001package org.tynamo.security.internal.services; 002 003import java.io.IOException; 004 005public interface LoginContextService { 006 007 @Deprecated 008 // to be removed in 0.7 009 String getLoginPage(); 010 011 @Deprecated 012 // to be removed in 0.7 013 String getSuccessPage(); 014 015 @Deprecated 016 // to be removed in 0.7 017 String getUnauthorizedPage(); 018 019 String getLoginURL(); 020 021 String getSuccessURL(); 022 023 String getUnauthorizedURL(); 024 025 String getLocalelessPathWithinApplication(); 026 027 String getLocaleFromPath(String path); 028 029 void saveRequest(); 030 031 void removeSavedRequest(); 032 033 @Deprecated 034 // to be removed in 0.7 035 void saveRequest(String contextPath); 036 037 void redirectToSavedRequest(String fallbackUrl) throws IOException; 038 039}