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 @@
* Contributors:
* Michael Simon - initial
******************************************************************************/
package edu.kit.scc.webreg.rest.exc;
package edu.kit.scc.webreg.exc;
public class AssertionException extends RestInterfaceException {
......
......@@ -8,7 +8,8 @@
* Contributors:
* Michael Simon - initial
******************************************************************************/
package edu.kit.scc.webreg.rest.exc;
package edu.kit.scc.webreg.exc;
public class GenericRestInterfaceException extends RestInterfaceException {
......
......@@ -8,7 +8,8 @@
* Contributors:
* Michael Simon - initial
******************************************************************************/
package edu.kit.scc.webreg.rest.exc;
package edu.kit.scc.webreg.exc;
public class LoginFailedException extends RestInterfaceException {
......
......@@ -8,7 +8,8 @@
* Contributors:
* Michael Simon - initial
******************************************************************************/
package edu.kit.scc.webreg.rest.exc;
package edu.kit.scc.webreg.exc;
public class NoDelegationConfiguredException extends RestInterfaceException {
......
package edu.kit.scc.webreg.rest.exc;
package edu.kit.scc.webreg.exc;
public class NoEcpSupportException extends RestInterfaceException {
......
package edu.kit.scc.webreg.rest.exc;
package edu.kit.scc.webreg.exc;
public class NoHostnameConfiguredException extends RestInterfaceException {
......
package edu.kit.scc.webreg.rest.exc;
package edu.kit.scc.webreg.exc;
public class NoIdpForScopeException extends RestInterfaceException {
......
package edu.kit.scc.webreg.rest.exc;
package edu.kit.scc.webreg.exc;
public class NoIdpFoundException extends RestInterfaceException {
......
......@@ -8,7 +8,7 @@
* Contributors:
* Michael Simon - initial
******************************************************************************/
package edu.kit.scc.webreg.rest.exc;
package edu.kit.scc.webreg.exc;
public class NoItemFoundException extends RestInterfaceException {
......
......@@ -8,7 +8,7 @@
* Contributors:
* Michael Simon - initial
******************************************************************************/
package edu.kit.scc.webreg.rest.exc;
package edu.kit.scc.webreg.exc;
public class NoRegistryFoundException extends RestInterfaceException {
......
package edu.kit.scc.webreg.rest.exc;
package edu.kit.scc.webreg.exc;
public class NoScopedUsernameException extends RestInterfaceException {
......
......@@ -8,7 +8,7 @@
* Contributors:
* Michael Simon - initial
******************************************************************************/
package edu.kit.scc.webreg.rest.exc;
package edu.kit.scc.webreg.exc;
public class NoServiceFoundException extends RestInterfaceException {
......
......@@ -8,7 +8,7 @@
* Contributors:
* Michael Simon - initial
******************************************************************************/
package edu.kit.scc.webreg.rest.exc;
package edu.kit.scc.webreg.exc;
public class NoUserFoundException extends RestInterfaceException {
......
......@@ -8,7 +8,7 @@
* Contributors:
* Michael Simon - initial
******************************************************************************/
package edu.kit.scc.webreg.rest.exc;
package edu.kit.scc.webreg.exc;
public class PersistentIdException extends RestInterfaceException {
......
......@@ -8,7 +8,7 @@
* Contributors:
* Michael Simon - initial
******************************************************************************/
package edu.kit.scc.webreg.rest.exc;
package edu.kit.scc.webreg.exc;
public class RestInterfaceException extends Exception {
......
......@@ -8,7 +8,7 @@
* Contributors:
* Michael Simon - initial
******************************************************************************/
package edu.kit.scc.webreg.rest.exc;
package edu.kit.scc.webreg.exc;
import java.util.List;
......
......@@ -8,7 +8,7 @@
* Contributors:
* Michael Simon - initial
******************************************************************************/
package edu.kit.scc.webreg.rest.exc;
package edu.kit.scc.webreg.exc;
public class UserNotRegisteredException extends RestInterfaceException {
......
......@@ -8,7 +8,7 @@
* Contributors:
* Michael Simon - initial
******************************************************************************/
package edu.kit.scc.webreg.rest.exc;
package edu.kit.scc.webreg.exc;
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