com.authlete.jakarta.spi.AuthorizationRequestHandlerSpiAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of authlete-java-jakarta Show documentation
Show all versions of authlete-java-jakarta Show documentation
Authlete library for JAX-RS (Java)
/*
* Copyright (C) 2016-2019 Authlete, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
* either express or implied. See the License for the specific
* language governing permissions and limitations under the
* License.
*/
package com.authlete.jakarta.spi;
import jakarta.ws.rs.core.Response;
import com.authlete.common.dto.AuthorizationResponse;
import com.authlete.common.dto.Property;
/**
* Empty implementation of {@link AuthorizationRequestHandlerSpi} interface.
*
*
* If you have no mind to support {@code prompt=none} (3.1.2.1. Authentication Request in OpenID
* Connect Core 1.0), methods you must override are only
* {@link #generateAuthorizationPage(AuthorizationResponse)}.
*
*
* @author Takahiko Kawasaki
*/
public class AuthorizationRequestHandlerSpiAdapter implements AuthorizationRequestHandlerSpi
{
@Override
public boolean isUserAuthenticated()
{
return false;
}
@Override
public long getUserAuthenticatedAt()
{
return 0;
}
@Override
public String getUserSubject()
{
return null;
}
@Override
public String getAcr()
{
return null;
}
@Override
public Response generateAuthorizationPage(AuthorizationResponse info)
{
return null;
}
@Override
public Property[] getProperties()
{
return null;
}
@Override
public String[] getScopes()
{
return null;
}
@Override
public String getSub()
{
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy