Commit 3568acfe authored by michael.simon's avatar michael.simon
Browse files

major refactoring, moving ecp functionality in service layer.

parent bf69aacd
...@@ -8,7 +8,8 @@ ...@@ -8,7 +8,8 @@
* Contributors: * Contributors:
* Michael Simon - initial * Michael Simon - initial
******************************************************************************/ ******************************************************************************/
package edu.kit.scc.webreg.rest.exc; package edu.kit.scc.webreg.exc;
public class AssertionException extends RestInterfaceException { public class AssertionException extends RestInterfaceException {
......
...@@ -8,7 +8,8 @@ ...@@ -8,7 +8,8 @@
* Contributors: * Contributors:
* Michael Simon - initial * Michael Simon - initial
******************************************************************************/ ******************************************************************************/
package edu.kit.scc.webreg.rest.exc; package edu.kit.scc.webreg.exc;
public class GenericRestInterfaceException extends RestInterfaceException { public class GenericRestInterfaceException extends RestInterfaceException {
......
...@@ -8,7 +8,8 @@ ...@@ -8,7 +8,8 @@
* Contributors: * Contributors:
* Michael Simon - initial * Michael Simon - initial
******************************************************************************/ ******************************************************************************/
package edu.kit.scc.webreg.rest.exc; package edu.kit.scc.webreg.exc;
public class LoginFailedException extends RestInterfaceException { public class LoginFailedException extends RestInterfaceException {
......
...@@ -8,7 +8,8 @@ ...@@ -8,7 +8,8 @@
* Contributors: * Contributors:
* Michael Simon - initial * Michael Simon - initial
******************************************************************************/ ******************************************************************************/
package edu.kit.scc.webreg.rest.exc; package edu.kit.scc.webreg.exc;
public class NoDelegationConfiguredException extends RestInterfaceException { public class NoDelegationConfiguredException extends RestInterfaceException {
......
package edu.kit.scc.webreg.rest.exc; package edu.kit.scc.webreg.exc;
public class NoEcpSupportException extends RestInterfaceException { public class NoEcpSupportException extends RestInterfaceException {
......
package edu.kit.scc.webreg.rest.exc; package edu.kit.scc.webreg.exc;
public class NoHostnameConfiguredException extends RestInterfaceException { public class NoHostnameConfiguredException extends RestInterfaceException {
......
package edu.kit.scc.webreg.rest.exc; package edu.kit.scc.webreg.exc;
public class NoIdpForScopeException extends RestInterfaceException { public class NoIdpForScopeException extends RestInterfaceException {
......
package edu.kit.scc.webreg.rest.exc; package edu.kit.scc.webreg.exc;
public class NoIdpFoundException extends RestInterfaceException { public class NoIdpFoundException extends RestInterfaceException {
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Contributors: * Contributors:
* Michael Simon - initial * Michael Simon - initial
******************************************************************************/ ******************************************************************************/
package edu.kit.scc.webreg.rest.exc; package edu.kit.scc.webreg.exc;
public class NoItemFoundException extends RestInterfaceException { public class NoItemFoundException extends RestInterfaceException {
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Contributors: * Contributors:
* Michael Simon - initial * Michael Simon - initial
******************************************************************************/ ******************************************************************************/
package edu.kit.scc.webreg.rest.exc; package edu.kit.scc.webreg.exc;
public class NoRegistryFoundException extends RestInterfaceException { public class NoRegistryFoundException extends RestInterfaceException {
......
package edu.kit.scc.webreg.rest.exc; package edu.kit.scc.webreg.exc;
public class NoScopedUsernameException extends RestInterfaceException { public class NoScopedUsernameException extends RestInterfaceException {
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Contributors: * Contributors:
* Michael Simon - initial * Michael Simon - initial
******************************************************************************/ ******************************************************************************/
package edu.kit.scc.webreg.rest.exc; package edu.kit.scc.webreg.exc;
public class NoServiceFoundException extends RestInterfaceException { public class NoServiceFoundException extends RestInterfaceException {
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Contributors: * Contributors:
* Michael Simon - initial * Michael Simon - initial
******************************************************************************/ ******************************************************************************/
package edu.kit.scc.webreg.rest.exc; package edu.kit.scc.webreg.exc;
public class NoUserFoundException extends RestInterfaceException { public class NoUserFoundException extends RestInterfaceException {
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Contributors: * Contributors:
* Michael Simon - initial * Michael Simon - initial
******************************************************************************/ ******************************************************************************/
package edu.kit.scc.webreg.rest.exc; package edu.kit.scc.webreg.exc;
public class PersistentIdException extends RestInterfaceException { public class PersistentIdException extends RestInterfaceException {
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Contributors: * Contributors:
* Michael Simon - initial * Michael Simon - initial
******************************************************************************/ ******************************************************************************/
package edu.kit.scc.webreg.rest.exc; package edu.kit.scc.webreg.exc;
public class RestInterfaceException extends Exception { public class RestInterfaceException extends Exception {
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Contributors: * Contributors:
* Michael Simon - initial * Michael Simon - initial
******************************************************************************/ ******************************************************************************/
package edu.kit.scc.webreg.rest.exc; package edu.kit.scc.webreg.exc;
import java.util.List; import java.util.List;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Contributors: * Contributors:
* Michael Simon - initial * Michael Simon - initial
******************************************************************************/ ******************************************************************************/
package edu.kit.scc.webreg.rest.exc; package edu.kit.scc.webreg.exc;
public class UserNotRegisteredException extends RestInterfaceException { public class UserNotRegisteredException extends RestInterfaceException {
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Contributors: * Contributors:
* Michael Simon - initial * Michael Simon - initial
******************************************************************************/ ******************************************************************************/
package edu.kit.scc.webreg.rest.exc; package edu.kit.scc.webreg.exc;
public class UserUpdateFailedException extends RestInterfaceException { public class UserUpdateFailedException extends RestInterfaceException {
......
package edu.kit.scc.webreg.service;
import java.io.IOException;
import java.util.Map;
import javax.servlet.ServletException;
import edu.kit.scc.webreg.exc.RestInterfaceException;
public interface UserLoginService {
Map<String, String> ecpLogin(String eppn, String serviceShortName,
String password, String localHostName) throws IOException,
ServletException, RestInterfaceException;
Map<String, String> ecpLogin(Long regId, String password,
String localHostName) throws IOException, ServletException,
RestInterfaceException;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment