@Transactional(readOnly=true) @Component public class SyncopeLogic extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
SyncopeLogic() |
Modifier and Type | Method and Description |
---|---|
void |
addLoadInstant(PayloadApplicationEvent<SystemInfo.LoadInstant> event) |
boolean |
isPwdResetAllowed() |
boolean |
isPwdResetRequiringSecurityQuestions() |
boolean |
isSelfRegAllowed() |
NumbersInfo |
numbers() |
PlatformInfo |
platform() |
TypeExtensionTO |
readTypeExtension(String groupName) |
T |
resolveBeanReference(Method method,
Object... args)
Resolves stored bean (if existing) referred by the given CUD method.
|
protected EntityTO |
resolveReference(Method method,
Object... args) |
Pair<Integer,List<GroupTO>> |
searchAssignableGroups(String realm,
String term,
int page,
int size) |
SystemInfo |
system() |
public boolean isSelfRegAllowed()
public boolean isPwdResetAllowed()
public boolean isPwdResetRequiringSecurityQuestions()
@PreAuthorize(value="isAuthenticated()") public PlatformInfo platform()
@EventListener public void addLoadInstant(PayloadApplicationEvent<SystemInfo.LoadInstant> event)
@PreAuthorize(value="isAuthenticated()") public SystemInfo system()
@PreAuthorize(value="isAuthenticated()") public NumbersInfo numbers()
@PreAuthorize(value="isAuthenticated()") public Pair<Integer,List<GroupTO>> searchAssignableGroups(String realm, String term, int page, int size)
@PreAuthorize(value="isAuthenticated()") public TypeExtensionTO readTypeExtension(String groupName)
protected EntityTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
UnresolvedReferenceException
public T resolveBeanReference(Method method, Object... args) throws UnresolvedReferenceException
method
- method.args
- method arguments.UnresolvedReferenceException
- in case of failures, read-only methods and unresolved bean.Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.