diff options
Diffstat (limited to 'base/tps/src/org/dogtagpki/server/tps/TPSSubsystem.java')
-rw-r--r-- | base/tps/src/org/dogtagpki/server/tps/TPSSubsystem.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/tps/src/org/dogtagpki/server/tps/TPSSubsystem.java b/base/tps/src/org/dogtagpki/server/tps/TPSSubsystem.java index 008f61333..b0ffb7570 100644 --- a/base/tps/src/org/dogtagpki/server/tps/TPSSubsystem.java +++ b/base/tps/src/org/dogtagpki/server/tps/TPSSubsystem.java @@ -145,7 +145,7 @@ public class TPSSubsystem implements IAuthority, ISubsystem { /** * Return the allowed next states for a given token based on TPS configuration. * - * If the current state is TEMP_LOST, token will be allowed transition to either + * If the current state is SUSPENDED, token will be allowed transition to either * UNINITIALIZED or ACTIVE depending on whether the token has certificates. * * @param tokenRecord @@ -156,7 +156,7 @@ public class TPSSubsystem implements IAuthority, ISubsystem { TokenStatus currentState = tokenRecord.getTokenStatus(); Collection<TokenStatus> nextStates = allowedTransitions.get(currentState); - if (currentState == TokenStatus.TEMP_LOST) { + if (currentState == TokenStatus.SUSPENDED) { Collection<TokenStatus> ns = new LinkedHashSet<TokenStatus>(); |