2022-03-17 17:17:15 +01:00
|
|
|
package org.gcube.smartgears.security;
|
|
|
|
|
2022-03-21 11:17:07 +01:00
|
|
|
import java.util.Set;
|
2022-03-17 17:17:15 +01:00
|
|
|
|
|
|
|
public class DefaultAuthorizationProvider implements AuthorizationProvider {
|
|
|
|
|
|
|
|
SimpleCredentials credentials;
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void connect(Credentials credentials) {
|
|
|
|
this.credentials = (SimpleCredentials)credentials;
|
|
|
|
}
|
|
|
|
|
2022-03-21 11:17:07 +01:00
|
|
|
@Override
|
|
|
|
public Set<String> getAllowedContexts() {
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2022-03-17 17:17:15 +01:00
|
|
|
}
|